help In NAN problem
Afficher commentaires plus anciens
Hi
MY code generate 1000000 samples
and when i want to sum this samples
it give me NAN
what the problem ??
Réponses (1)
Sean de Wolski
le 19 Nov 2013
Anything + NaN yields NaN. Use nansum() to sum ignoring nans.
doc nansum
Catégories
En savoir plus sur NaNs dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!