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.
0 个评论
采纳的回答
Walter Roberson
2012-10-3
nansum() is not a general MATLAB function: it is part of the Statistics toolbox.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Direct Search 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!