> 英语 >
matlab微分方程组求解
syms a,b,c,d;
dsolve('Dy(1)=1/2*a*y(2)*j','Dy(2)=-(c+d)*y(2)*j+1/2*a*y(1)*j+1/2*b*y(3)*j','Dy(3)=-d*y(3)*j+1/2*b*y(2)*j')
error('symbolic:dsolve:errmsg2','There are more ODEs than variables.')
为什么错啦,哪里有问题,
人气:123 ℃ 时间:2020-04-15 13:42:47
解答
syms a,b,c,d; (x)
clc;clear all;
syms a b c d;
dsolve('Dy(1)=1/2*a*y(2)*j','Dy(2)=-(c+d)*y(2)*j+1/2*a*y(1)*j+1/2*b*y(3)*j','Dy(3)=-d*y(3)*j+1/2*b*y(2)*j')
error('symbolic:dsolve:errmsg2','There are more ODEs than variables.')
推荐
猜你喜欢
© 2024 79432.Com All Rights Reserved.
电脑版|手机版