- Timestamp:
- 01/15/09 10:53:54 (16 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
matlab/pmsm/mpf_test_disp.m
r225 r229 8 8 9 9 figure(2) 10 StdX = 2*sqrt(VarE); 10 11 for i=1:4 11 12 subplot(4,1,i) … … 13 14 hold on; 14 15 plot(xthE(:,i)','r') 16 plot(xthE(:,i) - StdX(:,i),'r:'); 17 plot(xthE(:,i) + StdX(:,i),'r:'); 15 18 plot(xthM(:,i+4)','g') 16 19 % plot(xthV(i,:)','m'); … … 18 21 19 22 figure(3) 23 StdM = 2*sqrt(VarM); 20 24 for i=1:4 21 25 subplot(4,1,i) 22 26 plot(xthM(:,i)') 27 hold on 28 plot(xthM(:,i)-StdM(:,i),':') 29 plot(xthM(:,i)+StdM(:,i),':') 23 30 if i<4 24 31 %set(gca,'XTick',[]); … … 27 34 end 28 35 ylabel(['Q(' num2str(i) ',' num2str(i) ')']); 29 hold on 30 plot(Qtr(:,i)','--') 36 plot(Qtr(:,i)','--') 31 37 end 32 38