Home > NaN > prctile.m

prctile

PURPOSE ^

PRCTILE calculates the percentiles of histograms and sample arrays.

SYNOPSIS ^

function Q=prctile(Y,q,DIM)

DESCRIPTION ^

 PRCTILE calculates the percentiles of histograms and sample arrays.  
 (its the same than PERCENTILE.M)

  Q = prctile(Y,q)      
  Q = prctile(Y,q,DIM)      
     returns the q-th percentile along dimension DIM of sample array Y.
     size(Q) is equal size(Y) except for dimension DIM which is size(Q,DIM)=length(Q)

  Q = prctile(HIS,q)
     returns the q-th percentile from the histogram HIS. 
     HIS must be a HISTOGRAM struct as defined in HISTO2 or HISTO3.
     If q is a vector, the each row of Q returns the q(i)-th percentile 

 see also: HISTO2, HISTO3, QUANTILE

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Fri 22-May-2009 15:02:45 by m2html © 2003