norminv to solve for sigma
Mostrar comentarios más antiguos
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
Respuestas (1)
Torsten
el 24 de En. de 2019
1 voto
x = ...;
mu = ...;
p = ...;
sigma0 = 1.0;
sigma = fzero(@(y)normcdf(x,mu,y)-p,sigma0)
Categorías
Más información sobre Numerical Integration and Differential Equations en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!