Code covered by the BSD License

### Highlights from Learning the Kalman Filter: A Feedback Perspective

4.57143
4.6 | 7 ratings Rate this file 36 Downloads (last 30 days) File Size: 218 KB File ID: #18628 Version: 1.1

# Learning the Kalman Filter: A Feedback Perspective

by

### Yi Cao (view profile)

05 Feb 2008 (Updated )

A feedback view of Kalman filter to gain more useful insights.

File Information
Description

The Kalman filter is a feedback system. A Simulink model is developed to view this more clearly. From the feedback blocks, it is clear the normal Kalman filter is a linear time-variant system. By replacing the time-varying filter gain with its steady-state values, a simple linear time-invariant version of Kalman filter is provided in Simulink as well. Examples show that all these models provide similar performance.

Acknowledgements

Learning The Kalman Filter In Simulink V2.1 inspired this file.

MATLAB release MATLAB 7.5 (R2007b)
22 Feb 2015 sam

### sam (view profile)

thanks very much

Comment only
20 Feb 2015 mohamed meridjet

### mohamed meridjet (view profile)

thank you for this example A+

Comment only
01 Dec 2013 Denis

### Denis (view profile)

07 Apr 2012 zhou jianshan

### zhou jianshan (view profile)

Thank you for your sharing, thanks very much!

20 May 2011 justice wei

### justice wei (view profile)

GOOD EXAMPLE

05 Apr 2009 V. Poor

### V. Poor (view profile)

28 May 2008 YH Zhang

HI, YICao, I'm grad to see that the typo has removed quickly.
Now I have a question about the sampling period in your example 2:predict the position and velocity of a moving train.
For some latency or some other reasons in reality, I can't keep the sample period as a constant value. for example, I measurement the position at the time: 0.1, 0.3, 0.7, 0.8....... This means that the Equation : X(k) = AX(k-1) + BU(k-1) + W(k-1). the Matrix A is not a constant(time-variance) . So, can I still use the kalman filter? or I could use some non-linear method. Thank you.

Comment only
25 May 2008 chita samir

N/A

Comment only
15 May 2008 Yi Cao

Thank you yh Zhang. The typo has been corrected now. It may take a few days to be online.

Comment only
15 May 2008 YH Zhang

the formula(5) Kk = Pk|k-1 * C^T * Sk^-1 ( Change A to C)

03 Apr 2008 Zhang YH

This is a great tutorial about Kalman filter, since there are many articles on the "matlab file exchange" talking about kalman filter. Your tutorial had made a summary and a survey which is very important for the beginners like me. Also, you add your some news view of kalman filter. Thank you very much!

11 Mar 2008 manoj agrawal
05 Feb 2008

27 Feb 2008

update html description

21 Mar 2008

add missing png files in the html folder.

19 Feb 2011 1.1

update descriptions.