Uncertainty_Prop
Version 1.0.0 (1.83 KB) by
Toochukwu Aka
Returns the output of a function and its related uncertainty as a result of the uncertainty associated with the input variables/arguments
Compute the output of a function and its related uncertainty by entering:
- fun: function (with inputs/arguments as variables with uncertainty/errors. Please see documentation for more).
- x : n by m array of input (each variable data is represented by a column vector )
- x_err: 1 by m array of associated error for each variable (row vector)
[y,y_err] = Uncertainty_Prop(fun,x,x_err)
or you can manually input:
- step size for numerical differentiation(If this is not given the default value is 1e-6).
[y,y_err] = Uncertainty_Prop(fun,x,x_err,stepsize)
Output is:
- y : n by k array of computed variables
- y_err : n by k array of computed (+-) errors/uncertainty corresponding to each computed variable.
Cite As
Toochukwu Aka (2026). Uncertainty_Prop (https://uk.mathworks.com/matlabcentral/fileexchange/127853-uncertainty_prop), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2023a
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0 |
