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
|
Line | |
---|
1 | close all |
---|
2 | itload('../../pmsm_sim.it') |
---|
3 | figure(1); |
---|
4 | for i =1:4 |
---|
5 | subplot(4,1,i) |
---|
6 | plot(xth(:,i)') |
---|
7 | end |
---|
8 | |
---|
9 | figure(2) |
---|
10 | for i=1:4 |
---|
11 | subplot(4,1,i) |
---|
12 | plot(xth(:,i)') |
---|
13 | hold on; |
---|
14 | plot(xthE(:,i)','r') |
---|
15 | plot(xthM(:,i+2)','g') |
---|
16 | % plot(xthV(i,:)','m'); |
---|
17 | end |
---|
18 | |
---|
19 | figure(3) |
---|
20 | for i=1:2 |
---|
21 | subplot(2,1,i) |
---|
22 | plot(xthM(:,i)') |
---|
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)); |
---|