채택된 답변

the cyclist
the cyclist 2014년 7월 6일

2 개 추천

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일

0 개 추천

Thank you! After further research, looks like normcdf = 0.5*erfc(-x/(sqrt(2))

카테고리

도움말 센터File Exchange에서 Special Functions에 대해 자세히 알아보기

제품

질문:

Tri
2014년 7월 6일

답변:

Tri
2014년 7월 6일

Community Treasure Hunt

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

Start Hunting!

Translated by