help In NAN problem
조회 수: 3 (최근 30일)
이전 댓글 표시
Hi
MY code generate 1000000 samples
and when i want to sum this samples
it give me NAN
what the problem ??
댓글 수: 0
답변 (1개)
Sean de Wolski
2013년 11월 19일
Anything + NaN yields NaN. Use nansum() to sum ignoring nans.
doc nansum
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!