Labfans是一个针对大学生、工程师和科研工作者的技术社区。 | 论坛首页 | 联系我们(Contact Us) |
![]() |
|
![]() |
#1 |
高级会员
注册日期: 2019-11-21
帖子: 3,006
声望力: 66 ![]() |
![]() I want to have the nanmean of two matrixes element per element. I don't seem to be able to do it using the function Simplified example:
Result I want :
So the nan is ignored. One way to sum element per element I found on https://nl.mathworks.com/matlabcentral/answers/366304-how-to-sum-up-multiple-matrices-element-by-element
BUT this isn't the nansum. How can I do this not taking into account the nans? More answer... |
![]() |
![]() |