Missing NaN functions?
Afficher commentaires plus anciens
When I type >>help nansum in the command window, matlab returns "nansum not found." even though the function does exist in the documentation for the R2011a version. Is it possible that these functions (i.e. nansum, nanmean etc.) didn't install correctly, were they not included in R2011a, or do they exist under a new name? Thanks!
1 commentaire
Yella
le 20 Juin 2011
I use matlab 2010a... i have those functions.... FYKI
Réponse acceptée
Plus de réponses (1)
Andrei Bobrov
le 20 Juin 2011
so nansum
Xnan20 = X;
Xnan20(isnan(X))=0;
out = sum(Xnan20);
Catégories
En savoir plus sur Library Domains dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!