norminv to solve for sigma

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

回答 (1 件)

Torsten
Torsten 2019 年 1 月 24 日

1 投票

x = ...;
mu = ...;
p = ...;
sigma0 = 1.0;
sigma = fzero(@(y)normcdf(x,mu,y)-p,sigma0)

カテゴリ

ヘルプ センター および File ExchangeNumerical Integration and Differential Equations についてさらに検索

タグ

質問済み:

2019 年 1 月 24 日

回答済み:

2019 年 1 月 24 日

Community Treasure Hunt

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

Start Hunting!

Translated by