Operators and Keywords
Function List:
C++ API
Function File: v = nansum (X)
Function File: v = nansum (X, dim)
Compute the sum while ignoring NaN values. nansum is identical to the sum function except that NaN values are treated as 0 and so ignored. If all values are NaN, the sum is returned as 0. See also: sum nanmin nanmax nanmean nanmedian
Compute the sum while ignoring NaN values.
nansum is identical to the sum function except that NaN values are treated as 0 and so ignored. If all values are NaN, the sum is returned as 0.
nansum
sum
Package: statistics