Changeset 220 for matlab/pmsm_sim_disp.m
- Timestamp:
- 12/18/08 20:39:47 (16 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
matlab/pmsm_sim_disp.m
r48 r220 1 itload('../tests/pmsm_sim.it') 1 close all 2 itload('../pmsm_sim.it') 2 3 figure(1); 3 4 for i =1:4 4 5 subplot(4,1,i) 5 plot( Dt(i,:)')6 plot(xth(:,i)') 6 7 end 7 8 … … 9 10 for i=1:4 10 11 subplot(4,1,i) 11 plot(xth( i,:)')12 plot(xth(:,i)') 12 13 hold on; 13 plot(xthE( i,:)','r')14 plot(xthM( i+4,:)','g')15 plot(xthV(i,:)','m');14 plot(xthE(:,i)','r') 15 plot(xthM(:,i+2)','g') 16 % plot(xthV(i,:)','m'); 16 17 end 17 18 18 19 figure(3) 19 for i=1: 420 subplot( 4,1,i)21 plot(xthM( i,:)')20 for i=1:2 21 subplot(2,1,i) 22 plot(xthM(:,i)') 22 23 end 23 24