difference between normcdf and 1-erfc

2 ビュー (過去 30 日間)
Tri
Tri 2014 年 7 月 6 日
回答済み: Tri 2014 年 7 月 6 日
does normcdf=1-erfc
Thank you,

採用された回答

the cyclist
the cyclist 2014 年 7 月 6 日
No. Here is some simple code that creates a plot that illustrates that those two functions are not equal:
x = -5 : 0.01 : 5;
y1 = normcdf(x);
y2 = 1-erfc(x);
figure
plot(x,y1,x,y2)
legend('normcdf','1-erfc')

その他の回答 (1 件)

Tri
Tri 2014 年 7 月 6 日
Thank you! After further research, looks like normcdf = 0.5*erfc(-x/(sqrt(2))

カテゴリ

Help Center および File ExchangeAxis Labels についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by