Changeset 62 for matlab/testKF.m

Show
Ignore:
Timestamp:
04/06/08 20:14:56 (16 years ago)
Author:
smidl
Message:

nova simulace s EKFfixed a novy EKF na plnych maticich

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • matlab/testKF.m

    r37 r62  
    77        C=[1 0];%; 0 1]; 
    88        D=0.1;%[0.1; 0]; 
    9         R=0.1;%[1 0; 0 0.1]; 
     9        R=0.01;%[1 0; 0 0.1]; 
    1010        Q=[0.2 0 ; 0 0.2];  
    1111 
     
    7474plot(x'); 
    7575hold on 
    76 plot([zeros(size(xth,1),1) xth]','--'); % shift the predictions 
     76plot([xth]','--'); % shift the predictions 
    7777plot(xth2','+'); 
    7878plot(xthE','o'); 
     
    8181exec_times 
    8282exec_matlab./exec_times 
     83keyboard 
    8384end