y = nsum(x,dim)
returns sum while ignoring NaNs
see also nmean
The MathWorks, Inc.
Copyright 1993-2004
Thomas Deneux
Copyright 2015-2017
Published with MATLAB® R2015a