syms a r w j real
[y1,y2,y3,y4,y5,y6,y7,y8]=dsolve('Dy1=r*(y5+y6)-a*(y2-y3)*i,Dy2=-r*y2-(a*y1-a*y4-2*w*y2)*i,Dy3=-r*y3-(a*y4-a*y1+2*w*y3)*i,Dy4=-2*r*y4-a*(y3-y2)*i,Dy5=r*(y4-y5)-j*(y7-y8)*i,Dy6=r*(y4-y6)+j*(y7-y8)*i,Dy7=r*y7-j*(y5-y6)*i,Dy8=r*y8+j*(y5-y6)*i','y1(0)=0,y2(0)=0,y3(0)=0,y4(0)=1,y5(0)=0,y6(0)=0,y7(0)=0,y8(0)=0')
我的[y1...y8]都是不大于1 的矩阵元i 是虚数单位a,w,r,j都是参数,我运行的时候加了初试条件就有带c1,c2。。。c8的结果,加了初试条件就提示??? Error using ==> dsolve
Error, (in dsolve/IC) The 'implicit' option is not available when giving Initial Conditions.
Error in ==> ded at 2
[y1,y2,y3,y4,y5,y6,y7,y8]=Dsolve('Dy1=r*(y5+y6)-a*(y2-y3)*i,Dy2=-r*y2-(a*y1-a*y4-2*w*y2)*i,Dy3=-r*y3-(a*y4-a*y1+2*w*y3)*i,Dy4=-2*r*y4-a*(y3-y2)*i,Dy5=r*(y4-y5)-j*(y7-y8)*i,Dy6=r*(y4-y6)+j*(y7-y8)*i,D
>>