Rank: 298959 based on 0 downloads (last 30 days) and 0 file submitted
photo

jakub

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Comments and Ratings by jakub View all
Updated File Comments Rating
10 Apr 2013 Learning the Kalman Filter Basic Kalman filter, heavily commented, for beginners to Kalman filtering. Author: Michael Kleder

In other words, how to draw their values​​, provided they are stored in my data.mat?
Will the "plot" are the same and I have to use a loop "for"?
Ask directly about the code sample, it's here I deal with a couple of hours.

09 Apr 2013 Learning the Kalman Filter Basic Kalman filter, heavily commented, for beginners to Kalman filtering. Author: Michael Kleder

My case:

>> clear s
>> s.x = 12;
>> s.A = 1;
>> s.Q = 2^2;
>> s.H = 1;
>> s.R = 2^2;
>> s.B = 0;
>> s.u = 0;
>> s.x = nan;
>> s.P = nan;

>> s.z = [1 2 3 4 5 6 7 8 9 22 3 4 5 6 7 8 88];
>> kalmanf(s);

>> figure
>> hold on
>> grid on
>> hz=plot(s.z,'r.')
>> hk=plot(s,'b-')

Error using plot
Conversion to double from struct is not possible.

Where is the problem ?

Thank u

Contact us