Clear Filters
Clear Filters

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'."

7 views (last 30 days)
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.

Accepted Answer

Walter Roberson
Walter Roberson on 3 Oct 2012
nansum() is not a general MATLAB function: it is part of the Statistics toolbox.

More Answers (0)

Categories

Find more on Characters and Strings in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!