VMOMENT Central moment over non-NaN elements along a specfied dimension. Y=VMOMENT(X,N,DIM) finds the Nth central moment of all non-NaN elements of X along dimension DIM. [Y,NUM]=VMOMENT(X,N,DIM) also outputs the number of non-NaN data points NUM, which has the same dimension as X. [Y1,Y2,...YN]=VMOMENT(X1,X2,...XN,N,DIM) also works. VMOMENT(X1,X2,...XN,N,DIM); with no output arguments overwrites the original input variables. __________________________________________________________________ This is part of JLAB --- type 'help jlab' for more information (C) 2001--2020 J.M. Lilly --- type 'help jlab_license' for details