Worst-Case Propagation of Uncertainty

Estimates the propagated uncertainty for a function, at a given point, with given uncertainties.

You are now following this Submission

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 (2026). Worst-Case Propagation of Uncertainty (https://uk.mathworks.com/matlabcentral/fileexchange/48139-worst-case-propagation-of-uncertainty), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired by: Propagation of Uncertainty

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.2.0.0

added screenshot

1.1.0.0

misspelled uncertainty in the title

1.0.0.0