Demo entry 6770130

matlab

   

Submitted by anonymous on Nov 12, 2018 at 02:45
Language: Matlab. Code size: 174 Bytes.

[t,x]=ode45(@func,[0,1000],[2,2,9,8]');
x_target = [0;0];
figure
hold on
plot(x_target(1),x_target(2),'*r')
plot(x(:,1),x(:,2),'g')
plot(x(:,3),x(:,4),'b');
axis equal

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).