Effacer les filtres
Effacer les filtres

I have the following bit of code and when I run it, I get the error message "Undefined function 'nansum' for input arguments of type 'double'."

3 vues (au cours des 30 derniers jours)
I have the following bit of code and when I run it, I get the error message "Undefined function 'nansum' for input arguments of type 'double'." I am not sure how to address this. As far as I know, 'nansum' is a general Matlab function, and this error typically comes up when a function is not in the working directory.

Réponse acceptée

Walter Roberson
Walter Roberson le 3 Oct 2012
nansum() is not a general MATLAB function: it is part of the Statistics toolbox.
  1 commentaire
Emma
Emma le 3 Oct 2012
Ok, that definitely changes how I will approach this.
Thank you very much for pointing that out!

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by