matlab画图求解 10
>>functionxprim=xprim3(t,y)xprim=[-0.27*y(1)*y(3)/12000000;0.27*y(1)*y(3)/12000000-1/...
>> function xprim=xprim3(t,y)
xprim=[-0.27*y(1)*y(3)/12000000;
0.27*y(1)*y(3)/12000000-1/5.3*y(2);
1/5.3*y(2)-1/5.61*y(3);
1/5.61*y(3)];
[T,Y]=ode45('xprim3',[0,12000000],[0,1],[0,0],[0,0]);
plot(T,Y(:,1),'-',T,Y(:,1),'*',T,Y(:,3),'o',T,Y(:,4),'+')
求大神,哪错了,怎么改 展开
xprim=[-0.27*y(1)*y(3)/12000000;
0.27*y(1)*y(3)/12000000-1/5.3*y(2);
1/5.3*y(2)-1/5.61*y(3);
1/5.61*y(3)];
[T,Y]=ode45('xprim3',[0,12000000],[0,1],[0,0],[0,0]);
plot(T,Y(:,1),'-',T,Y(:,1),'*',T,Y(:,3),'o',T,Y(:,4),'+')
求大神,哪错了,怎么改 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询