kalman_voltage.m

A small experiment to understand Kalman filter
598 Downloads
Updated 2 Jul 2014

View License

This is a small voltage measurement example to understand Kalman filter. The experiment is about measuring voltage on a multimeter. Due to noise in the multimeter we get different readings of the same voltage at different points in time. The noise is considered to be 0.1 V rms. 50 such measurements are made. A process and a measurement model are established. The Kalman filter can be tested for different values of a priori measurement error covariances and process noise covariances. Here, for instance we can see the influence of very high and very low measurement error covariances. At very high measurement error covariance the estimates almost follow the constant voltage line, i.e. the multimeter measurements are not 'trusted' very much. At very low measurement error covariance the estimates follow the measurement plot.
Please leave a comment or a rating on my code if you found it useful. :)

Cite As

Aryaa Ravieshancar (2024). kalman_voltage.m (https://www.mathworks.com/matlabcentral/fileexchange/47122-kalman_voltage-m), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2011a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0