plot - Plotting nonlinear Diff equation in Matlab -
take @ differential equation solver in matlab, ode45.
f1 = @(t,y)[-y(2)^3 - y(1)^3; y(1)*y(3) - y(2)^3; -y(3) + y(1)^2]; [time,y] = ode45(f1,[0 10],zeros(3,1)) plot(time,y)
take @ differential equation solver in matlab, ode45.
f1 = @(t,y)[-y(2)^3 - y(1)^3; y(1)*y(3) - y(2)^3; -y(3) + y(1)^2]; [time,y] = ode45(f1,[0 10],zeros(3,1)) plot(time,y)
Comments
Post a Comment