SHARE
TWEET

Untitled

a guest May 25th, 2013 45 Never
  1. clear all
  2. timerange=[0 5]; %seconds
  3. vinitial=[0 0 0 0]; %
  4. [t,v]=ode45(@dof3,timerange,vinitial)
  5. v(:,2)=v(:,2).*180/pi;
  6. plot(t,v(:,1),t,v(:,2),t,v(:,3),t,v(:,4))
  7. ylabel('Rate')
  8. xlabel('time(s)')
RAW Paste Data
Top