Suppose a variable y depends on n independent variables
,
,
. If the independent variables have uncertainty
,
, etc. and the uncertainties are independent, then the uncertainty in y can be estimated with
For this problem, the relationship between y and
will be power laws of the form
For example, the relationship
would have c = 0.5 and a = [1 2].
Write a function that takes a vector of values of x, the coefficient c, exponents a, and a vector of uncertainties
and returns the absolute uncertainty
, relative uncertainty
, and the index of the variable that contributes the most to the uncertainty in y. Identifying the largest contributor to the uncertainty tells the experimentalist which measurement to target first to improve the measurement.
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers16
Suggested Problems
-
All your base are belong to us
582 Solvers
-
128 Solvers
-
Return the first and last characters of a character array
12598 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
14570 Solvers
-
Lychrel Number Test (Inspired by Project Euler Problem 55)
119 Solvers
More from this Author330
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!