VMEDIAN is the jVarfun module of jLab.

 VMEDIAN  Median over finite elements along a specified dimension.
 
    Y=VMEDIAN(X,DIM) takes the median of all finite elements of X along      
    dimension DIM. 
                            
    [Y1,Y2,...YN]=VMEDIAN(X1,X2,...XN,DIM) also works.
 
    VMEDIAN(X1,X2,...XN,DIM); with no output arguments overwrites the 
    original input variables.
 
    VMEDIAN, like MATLAB's MEDIAN, defines the median over an even 
    number of values to be the average of the two middle elements.
 
    VMEDIAN uses a fast algorithm which can be several times faster 
    than MEDIAN, but unlike MEDIAN, excludes both INFs and NANs.
    __________________________________________________________________
    This is part of JLAB --- type 'help jlab' for more information
    (C) 2008--2015 J.M. Lilly --- type 'help jlab_license' for details        

contents | allhelp | index