- Timestamp:
- 03/20/08 21:41:51 (17 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
matlab/pmsm_sim_disp.m
r47 r48 12 12 hold on; 13 13 plot(xthE(i,:)','r') 14 plot(xthM(i+4,:)','g') 15 plot(xthV(i,:)','m'); 14 16 end 15 17 16 18 figure(3) 17 ndat = size(ll,2); 18 hold off 19 plot(llgrid,ll(:,floor(ndat/3)),':'); 20 hold on 21 plot(llgrid,ll(:,floor(2*ndat/3)),'--'); 22 plot(llgrid,ll(:,ndat)); 19 for i=1:4 20 subplot(4,1,i) 21 plot(xthM(i,:)') 22 end 23 24 25 % figure(3) 26 % ndat = size(ll,2); 27 % hold off 28 % plot(llgrid,ll(:,floor(ndat/3)),':'); 29 % hold on 30 % plot(llgrid,ll(:,floor(2*ndat/3)),'--'); 31 % plot(llgrid,ll(:,ndat));