root/applications/pmsm/Barcelona/real_pmsm.m @ 346

Revision 346, 0.6 kB (checked in by smidl, 15 years ago)

Barcelona - zkalibrovana mereni

Line 
1M=pmsm_estim_mex('real_mx.cfg');
2
3ids = [1:size(M.EKFMz_mean,1)];
4kftime=[ids-ids(1)]*0.000125;
5
6figure(1);
7subplot(2,1,1);
8hold off
9plot(kftime,M.EKFMz_mean(ids,3)/2/pi);
10hold on
11plot(kftime,M.EKF_mean(ids,3)/2/pi,'r');
12
13subplot(2,1,2);
14plot(kftime, M.EKFMz_mean(ids,5));
15
16% -----
17
18load ~/work/vs/Pohony/DATA_MERENI/DATA_MCU/data1.dat -ascii
19
20subplot(2,1,1);
21setime=[0:799]*0.004666; % fitted on currents
22plot(setime,data13([0:799]+711,6),'--k','LineWidth',3);
23plot(setime,data13([0:799]+711,11),'--g','LineWidth',3);
24%plot(setime,2*pi*data1([0:799]+620,6),'--k','LineWidth',3);
25
26
Note: See TracBrowser for help on using the browser.