root/matlab/pmsm_sim_disp.m
@
47
Revision 47, 329 bytes (checked in by smidl, 17 years ago) | |
---|---|
|
Line | |
---|---|
1 | itload('../tests/pmsm_sim.it') |
2 | figure(1); |
3 | for i =1:4 |
4 | subplot(4,1,i) |
5 | plot(Dt(i,:)') |
6 | end |
7 | |
8 | figure(2) |
9 | for i=1:4 |
10 | subplot(4,1,i) |
11 | plot(xth(i,:)') |
12 | hold on; |
13 | plot(xthE(i,:)','r') |
14 | end |
15 | |
16 | 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)); |
Note: See TracBrowser
for help on using the browser.