Bayesian Estimation Example
Version 1.0.4 (1,39 ko) par
Ayad Al-Rumaithi
Solution of Bayesian estimation example
Bayesian estimation example:
We have two measurements of state (x) using two sensors. x1=3 from sensor 1 and x2=5 from sensor 2. We know that sensor 1 has zero mean Gaussian noise with variance=1 and sensor 2 has zero mean Gaussian noise with variance=0.25. Find MMSE estimate of x and its variance.
Solution: From the code attached we get:
Expected value of x=4.6
Variance of x=0.2
This can be related to Kalman filter estimation as:
K=1/(1+0.25)=0.8
x=3+K*(5-3)=4.6
P=(1-K)*1=0.2
Citation pour cette source
Ayad Al-Rumaithi (2026). Bayesian Estimation Example (https://fr.mathworks.com/matlabcentral/fileexchange/71993-bayesian-estimation-example), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Créé avec
R2017b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS LinuxCatégories
En savoir plus sur Statistics and Machine Learning Toolbox dans Help Center et MATLAB Answers
Tags
Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
| Version | Publié le | Notes de version | |
|---|---|---|---|
| 1.0.4 | Added website |
||
| 1.0.3 | Comments |
||
| 1.0.2 | comments in code |
||
| 1.0.1 | description |
||
| 1.0.0 |
