Bayesian Estimation Example

版本 1.0.3 (1.3 KB) 作者: Ayad Al-Rumaithi
Solution of Bayesian estimation example
566.0 次下载
更新时间 2019/7/1

查看许可证

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

引用格式

Ayad Al-Rumaithi (2024). Bayesian Estimation Example (https://www.mathworks.com/matlabcentral/fileexchange/71993-bayesian-estimation-example), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2017b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Statistics and Machine Learning Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.3

Comments

1.0.2

comments in code

1.0.1

description

1.0.0