24小时热门版块排行榜    

查看: 311  |  回复: 0

dclili

新虫 (初入文坛)

[求助] 用MATLAB求解方程组,急用,求大神。。。。。

我现在算到了一个程序算了下面的步骤,需要求出方程组的解,现在用的是DOSOLVE函数,但是MATLAB显示的一直就是empty sym 不知道怎么算了,方程组里面的时间t=0:40;不知道怎么下面进行了

[x1,x2,x3]=dsolve('Dx1=(12/5*sin(2*t)-24/5*cos(2*t)-2*sin(t)-2*cos(t)-4/5*sin(1/2*t)-8/5*cos(1/2*t)+69/10*exp(-t)+(sin(t)+cos(t)+exp(-t))*x1+(-4/5*sin(2*t)+8/5*cos(2*t)+2/5*exp(-t))*x2+(-4/5*sin(2*t)+8/5*cos(2*t)+2/5*exp(-t))*x3)*(sin(t)+cos(t)+exp(-t))','Dx2=(12/5*sin(2*t)-24/5*cos(2*t)-2*sin(t)-2*cos(t)-4/5*sin(1/2*t)-8/5*cos(1/2*t)+69/10*exp(-t)+(sin(t)+cos(t)+exp(-t))*x1+(-4/5*sin(2*t)+8/5*cos(2*t)+2/5*exp(-t))*x2+(-4/5*sin(2*t)+8/5*cos(2*t)+2/5*exp(-t))*x3)*(-4/5*sin(2*t)+8/5*cos(2*t)+2/5*exp(-t))','Dx3=(12/5*sin(2*t)-24/5*cos(2*t)-2*sin(t)-2*cos(t)-4/5*sin(1/2*t)-8/5*cos(1/2*t)+69/10*exp(-t)+(sin(t)+cos(t)+exp(-t))*x1+(-4/5*sin(2*t)+8/5*cos(2*t)+2/5*exp(-t))*x2+(-4/5*sin(2*t)+8/5*cos(2*t)+2/5*exp(-t))*x3)*(-4/5*sin(2*t)+8/5*cos(2*t)+2/5*exp(-t))')
回复此楼
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

智能机器人

Robot (super robot)

我们都爱小木虫

相关版块跳转 我要订阅楼主 dclili 的主题更新
信息提示
请填处理意见