View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
Learning the Kalman Filter: A Feedback Perspective

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

Learning the Kalman Filter: A Feedback Perspective


Yi Cao (view profile)


05 Feb 2008 (Updated )

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

| Watch this File

File Information

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.


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

Required Products Simulink
MATLAB release MATLAB 7.5 (R2007b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (12)
22 Feb 2015 sam

sam (view profile)

thanks very much

Comment only
20 Feb 2015 mohamed meridjet

thank you for this example A+

Comment only
01 Dec 2013 Denis

Denis (view profile)

07 Apr 2012 zhou jianshan

Thank you for your sharing, thanks very much!

20 May 2011 justice wei


05 Apr 2009 V. Poor

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


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

Hi, YI Cao, I have found a bug in your tutorials, when I want to send the bug to your email address, but all were were be rejected.

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

add slimulink requirement

27 Feb 2008

update html description

21 Mar 2008

add missing png files in the html folder.

19 Feb 2011 1.1

update descriptions.

Contact us