help In NAN problem
古いコメントを表示
Hi
MY code generate 1000000 samples
and when i want to sum this samples
it give me NAN
what the problem ??
回答 (1 件)
Sean de Wolski
2013 年 11 月 19 日
Anything + NaN yields NaN. Use nansum() to sum ignoring nans.
doc nansum
カテゴリ
ヘルプ センター および File Exchange で NaNs についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!