Advertisement
Guest User

Untitled

a guest
Dec 14th, 2018
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MatLab 0.15 KB | None | 0 0
  1. [t,z]=ode45(@zdot,[0,2], [0,0,0,0]);
  2. plot(t,z(:,1), 'r')
  3. hold on
  4. plot(t,z(:,2), 'g')
  5. xlabel('tid [s]')
  6. ylabel('hรถjd [m]')
  7. legend('x1(t)', 'x2(t))')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement