Replace the NaN values with 0. 10 you expect, but Matlab provides alternate versions, nansum, nanmean and nanstd which let you ignore NaNs and find the sum, ...
確定! 回上一頁