Code covered by the BSD License

### Highlights from 1D standard Kalman Filter (Simulink model & program)

4.5

4.5 | 2 ratings Rate this file 60 Downloads (last 30 days) File Size: 10.9 KB File ID: #38353

# 1D standard Kalman Filter (Simulink model & program)

simulating 1D Kalman filter using program and simulink model.

File Information
Description

Description :
1D Kalman filter and two testings :
usage [Y,P,K]=Kalman1D(X,Q)
Input:
X : noisy measurment.
Q : process noise variance.
Y : estimated state.
P : error variance.
K : Gain.
R : noise measurement, set to R=0.05.

Testing 1 :
function 1 :x1=(4*sin(t./10)).*exp(-inv(200).*t)+W1;
function 2 :x2=0.5*square(pi*t/20)+w2;
w1,w2 ~N(m,v).

Testing 2 :
Simulink model : 10 seconds simulation of noisy DSP SineWave
open the scopes to see the results .

References :
1. http://www.cs.unc.edu/~welch/kalman/

Related submissions :

1. Brian Moore, " Kalman Filter Package". http://www.mathworks.com/matlabcentral/fileexchange/38302-kalman-filter-package

2. Vidhya Raj, "Scalar Kalman filter" http://www.mathworks.com/matlabcentral/fileexchange/37782-scalar-kalman-filter

3. Lazaros Moysis, " Estimating a constant using the Kalman filter" http://www.mathworks.com/matlabcentral/fileexchange/37521-estimating-a-constant-state-using-the-kalman-filter

4. Alex Dysto, "Scalar Kalman filter" http://www.mathworks.com/matlabcentral/fileexchange/36835-scalar-kalman-filter

5. ahmed yehia, "Kalman filter" http://www.mathworks.com/matlabcentral/fileexchange/36817-kalman-filter

6. Xing, " Kalman filter in tracking" http://www.mathworks.com/matlabcentral/fileexchange/36786-kalman-filter-in-tracking

Acknowledgements
MATLAB release MATLAB 7.4 (R2007a)
03 Jul 2013

You are welcome Mr Antonio,
if you find any bug or enhancement please let me know .

03 Jul 2013

Thank you for your great programm, its easy to handle

21 Nov 2012