NAN of matrix
조회 수: 1 (최근 30일)
이전 댓글 표시
e(4957) gives NAN in my code ..EXP(OF SOME LARGE VALUE) GIVES NAN,...what 2 do ?
댓글 수: 0
채택된 답변
Paulo Silva
2011년 9월 8일
No e(4957) isn't exponential of that number, your e is a variable and you are calling the value at index 4957, exponential is done with the exp expression exp(4987) gives Inf
댓글 수: 1
Walter Roberson
2011년 9월 8일
Or possibly e is a function instead of a variable. But it certainly isn't the same as exp() whatever it is.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 NaNs에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!