Code covered by the BSD License  

Highlights from
Propagation of Uncertainty

5.0

5.0 | 2 ratings Rate this file 43 Downloads (last 30 days) File Size: 1.63 KB File ID: #17901
image thumbnail

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

Simple, accurate and powerful. Just what I needed. Thank you

18 Sep 2011 sixie yu

Help me solve the physic experimental uncertainty.

Please login to add a comment or rating.
Updates
09 Feb 2010

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

Tag Activity for this File
Tag Applied By Date/Time
error Brad Ridder 10 Feb 2010 09:46:43
uncertainty Brad Ridder 10 Feb 2010 09:46:43
propagation Brad Ridder 10 Feb 2010 09:46:43

Contact us at files@mathworks.com