Revision 279, 459 bytes
(checked in by smidl, 16 years ago)
|
Transition of pmsm and libKF
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Rev Author Date
|
Rev | Line | |
---|
[220] | 1 | close all |
---|
[279] | 2 | itload('../../pmsm_sim.it') |
---|
[47] | 3 | figure(1); |
---|
| 4 | for i =1:4 |
---|
| 5 | subplot(4,1,i) |
---|
[220] | 6 | plot(xth(:,i)') |
---|
[47] | 7 | end |
---|
| 8 | |
---|
| 9 | figure(2) |
---|
| 10 | for i=1:4 |
---|
| 11 | subplot(4,1,i) |
---|
[220] | 12 | plot(xth(:,i)') |
---|
[47] | 13 | hold on; |
---|
[220] | 14 | plot(xthE(:,i)','r') |
---|
| 15 | plot(xthM(:,i+2)','g') |
---|
| 16 | % plot(xthV(i,:)','m'); |
---|
[47] | 17 | end |
---|
| 18 | |
---|
| 19 | figure(3) |
---|
[220] | 20 | for i=1:2 |
---|
| 21 | subplot(2,1,i) |
---|
| 22 | plot(xthM(:,i)') |
---|
[48] | 23 | end |
---|
| 24 | |
---|
| 25 | |
---|
| 26 | % figure(3) |
---|
| 27 | % ndat = size(ll,2); |
---|
| 28 | % hold off |
---|
| 29 | % plot(llgrid,ll(:,floor(ndat/3)),':'); |
---|
| 30 | % hold on |
---|
| 31 | % plot(llgrid,ll(:,floor(2*ndat/3)),'--'); |
---|
| 32 | % plot(llgrid,ll(:,ndat)); |
---|