Worst-Case Propagation of Uncertainty

Estimates the propagated uncertainty for a function, at a given point, with given uncertainties.
2.5K Downloads
Updated 17 Oct 2014

View License

worstcase attempts to maximize and minimize a function over give uncertainty bounds using fmincon. This function is superior to my old propagation of uncertainty code, PropError. Only the Optimization toolbox is required. Input is far easier, and implicit and non-analytic functions can also be handled. Execution time is significantly faster.
Two examples are given:
worstcase_example quickly demonstrates the method for a function.
worstcase_colebrook_example demonstrates error propagation for an implicit function. In the example, 25% uncertainty in the paramters of the implicit Colebrook equation.
Just run the two examples, and check out the code.

Cite As

Brad Ridder (2024). Worst-Case Propagation of Uncertainty (https://www.mathworks.com/matlabcentral/fileexchange/48139-worst-case-propagation-of-uncertainty), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2013a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Get Started with Optimization Toolbox in Help Center and MATLAB Answers
Acknowledgements

Inspired by: Propagation of Uncertainty

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.2.0.0

added screenshot

1.1.0.0

misspelled uncertainty in the title

1.0.0.0