normcdf error
조회 수: 1 (최근 30일)
이전 댓글 표시
Dear all,
All seemed to be working well with my code until all of a sudden I received the following error message:
??? Undefined function or method 'erfc' for input arguments of type 'double' and attributes 'full scalar
complex'.
Error in ==> normcdf at 68
p = 0.5 * erfc(-z ./ sqrt(2));
I am not certain what had happened as I was entering similar values and all was working well
답변 (1개)
Wayne King
2012년 5월 7일
Are you attempting to input a complex number into normcdf?
erfc() only accepts real-valued input arguments. If you are not, please show what you are inputting into normcdf()
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Specialized Messages에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!