zhaolei 发表于 2006-4-10 12:21

求助:用matlab做lorenz系统图!!!!

谢谢

jumpwolf 发表于 2006-4-10 13:03

t0=;
y0=;
=ode45('Lorenz',t0,y0);
plot3(y(:,1),y(:,2),y(:,3))

function ydot = Lorenz(t,y)
ydot=zeros(3,1);
ydot(1)=16.0*(y(2)-y(1));
ydot(2)=-y(1)*y(3)+45.92*y(1)-y(2);
ydot(3)=y(1)*y(2)-4.0*y(3);
页: [1]
查看完整版本: 求助:用matlab做lorenz系统图!!!!