norminv to solve for sigma
Show older comments
How can i use norminv to solve for sigma? I have a problem where i have the x value, the mu value and the p value but i need to solve for sigma in MATLAB
Answers (1)
Torsten
on 24 Jan 2019
1 vote
x = ...;
mu = ...;
p = ...;
sigma0 = 1.0;
sigma = fzero(@(y)normcdf(x,mu,y)-p,sigma0)
Categories
Find more on Numerical Integration and Differential Equations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!