help In NAN problem
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi
MY code generate 1000000 samples
and when i want to sum this samples
it give me NAN
what the problem ??
0 Kommentare
Antworten (1)
Sean de Wolski
am 19 Nov. 2013
Anything + NaN yields NaN. Use nansum() to sum ignoring nans.
doc nansum
0 Kommentare
Siehe auch
Kategorien
Mehr zu NaNs finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!