Home > freetb4matlab > NaN > quantile.m

quantile

PURPOSE ^

QUANTILE calculates the quantiles of histograms and sample arrays.

SYNOPSIS ^

function Q=quantile(Y,q,DIM,method)

DESCRIPTION ^

 QUANTILE calculates the quantiles of histograms and sample arrays.  

  Q = quantile(Y,q)
  Q = quantile(Y,q,DIM)
     returns the q-th quantile 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 = quantile(HIS,q)
     returns the q-th quantile 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 quantile 

 see also: HISTO2, HISTO3, PERCENTILE

CROSS-REFERENCE INFORMATION ^

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