PLS_Toolbox Documentation: pctile2< pctile1 plotcqq >

pctile2

Purpose

Returns the Pth percentile of a data vector.

Synopsis

 

pctile = pctile2(x,p)

Description

The return value (pctile) is the specified percentile of the sample. This is an alternative to the pctile1 command used by the summary command.

INPUTS:

                         x =   matrix (column vector) in which the sample data is stored.

                         p =   integer (1,100), percentile to calculate.

Examples

 

pctl = pctile2(x,50)

See Also

pctile1


< pctile1 plotcqq >