matlab解微分方程组出错?>>[x,y,z,v,w]=dsolve('Dx=-2*(A+A1)*x+u1*(y+z)+u*v','Dy=-2*u1*y+A1*(x+v)','Dz=-2*u1*z+A1*(x+v)','Dw=-2*u*w+A*v','Dx+Dy+Dz+Dv+Dw=0','x(0)=1,y(0)=0,z(0)=0,v(0)=0,w(0)=0') Error using ==> dsolve Error,(in combine/radical) integer too large in context
问题描述:
matlab解微分方程组出错?
>>[x,y,z,v,w]=dsolve('Dx=-2*(A+A1)*x+u1*(y+z)+u*v','Dy=-2*u1*y+A1*(x+v)','Dz=-2*u1*z+A1*(x+v)','Dw=-2*u*w+A*v','Dx+Dy+Dz+Dv+Dw=0','x(0)=1,y(0)=0,z(0)=0,v(0)=0,w(0)=0')
Error using ==> dsolve
Error,(in combine/radical) integer too large in context
答
怎么说呢...可能是因为所求系数(整型)太大了,也可能是你初始量设置的有问题.
具体这会儿我没参考书,要不然就告诉你怎么改进.
那句"Error,(in combine/radical) integer too large in context"意思是,
“错误,(在化简/开根中)文本里的整数过大”.