Revision 346, 0.6 kB
(checked in by smidl, 16 years ago)
|
Barcelona - zkalibrovana mereni
|
Line | |
---|
1 | M=pmsm_estim_mex('real_mx.cfg'); |
---|
2 | |
---|
3 | ids = [1:size(M.EKFMz_mean,1)]; |
---|
4 | kftime=[ids-ids(1)]*0.000125; |
---|
5 | |
---|
6 | figure(1); |
---|
7 | subplot(2,1,1); |
---|
8 | hold off |
---|
9 | plot(kftime,M.EKFMz_mean(ids,3)/2/pi); |
---|
10 | hold on |
---|
11 | plot(kftime,M.EKF_mean(ids,3)/2/pi,'r'); |
---|
12 | |
---|
13 | subplot(2,1,2); |
---|
14 | plot(kftime, M.EKFMz_mean(ids,5)); |
---|
15 | |
---|
16 | % ----- |
---|
17 | |
---|
18 | load ~/work/vs/Pohony/DATA_MERENI/DATA_MCU/data1.dat -ascii |
---|
19 | |
---|
20 | subplot(2,1,1); |
---|
21 | setime=[0:799]*0.004666; % fitted on currents |
---|
22 | plot(setime,data13([0:799]+711,6),'--k','LineWidth',3); |
---|
23 | plot(setime,data13([0:799]+711,11),'--g','LineWidth',3); |
---|
24 | %plot(setime,2*pi*data1([0:799]+620,6),'--k','LineWidth',3); |
---|
25 | |
---|
26 | |
---|