Propagation of Uncertainty
by Brad Ridder
06 Dec 2007
(Updated 09 Feb 2010)
Returns the propagated uncertainty in a function F imparted to it from its variables
|
Watch this File
|
| File Information |
| Description |
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. |
| Required Products |
Symbolic Math Toolbox
|
| MATLAB release |
MATLAB 7.1.0 (R14SP3)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Comments and Ratings (2) |
| 15 Oct 2010 |
Arne
|
|
|
| 18 Sep 2011 |
sixie yu
|
|
|
| Updates |
| 09 Feb 2010 |
changed the bsd license thingie, and fixed the help comments in my m-file. |
|
Contact us at files@mathworks.com