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 次查看(过去 30 天)
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.

采纳的回答

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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Direct Search 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by