Propagation of Uncertainty

版本 1.3.0.0 (1.6 KB) 作者: Brad Ridder
Returns the propagated uncertainty in a function F imparted to it from its variables
6.4K 次下载
更新时间 2014/10/17

查看许可证

(UPDATE: Feel free to use this code, but I have written another much better code here: http://www.mathworks.com/matlabcentral/fileexchange/48139-worst-case-propagation-of-uncertainty)
Handy little function, for those of you in lab classes where they are sticklers for error. (or for those of you that are actual scientists even...!).

Propagation of uncertainty is a really slick formula, but its a massive pain to do by hand. this function does it for you!

To do it, just enter in the symbolic function, a row vector of the variables, a row vector for the estimated values of those variables, and lastly a row vector of the uncertainty associated with those variables.
help PropError has an example in it.
Enjoy!
outputs both actual error, and the percent error.

The program follows the equation shown in the screenshot. (courtesy of Wikipedia).
Requires Symbolic Math Toolbox.

引用格式

Brad Ridder (2024). Propagation of Uncertainty (https://www.mathworks.com/matlabcentral/fileexchange/17901-propagation-of-uncertainty), MATLAB Central File Exchange. 检索时间: .

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

Community Treasure Hunt

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

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

linked to my new, better worstcase code

1.2.0.0

changed the bsd license thingie, and fixed the help comments in my m-file.

1.0.0.0