what is the differences between "sum(x, 3, 'omitnan')" and "nansum(x, 3)" ?
16 次查看(过去 30 天)
显示 更早的评论
Hi
could you please let me know what is the differences between "sum(x, 3, 'omitnan')" and "nansum(x, 3)" ?
0 个评论
采纳的回答
Walter Roberson
2019-10-28
nansum() is an older routine that is part of the Statistics Toolbox.
sum() with 'omitnan' is part of a series of general enhancements to handling nan. It requires a newer MATLAB release but no special toolbox.
There might possibly be some differences in details of handling of some datatypes.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Logical 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!