VSUM is the jVarfun module of jLab.

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

contents | allhelp | index