PDFPROPS is the jCommon module of jLab.

 PDFPROPS  Mean and variance associated with a probability distribution.
    [MU,SIGMA]=PDFPROPS(X,FX), given a probability distribution function FX
    over values X, returns the mean MU and the standard deviation SIGMA. 
    The statistics are computed using a trapezoidal integration.  FX is 
    multiplied by a constant so that it integrates to one.
    [MU,SIGMA,SKEW,KURT]=PDFPROPS(X,FX) also retuns the skewness and the
    kurtosis, which are the third and fourth central moments, respectively 
    normalized by the third and fourth powers of the standard deviation.  
    PDFPROPS(X,FX,DIM) alternately computes moments along dimension DIM.
    By default, DIM=1, so the moments are computed along rows.
    'pdfprops --t' runs a test.
    Usage:  [mu,sigma]=pdfprops(x,fx); 
    This is part of JLAB --- type 'help jlab' for more information
    (C) 2001--2013 J.M. Lilly --- type 'help jlab_license' for details    

contents | allhelp | index