quantile

Calculate quantiles of the data x

Contents

Syntax

[y, pActual] = quantile(x,p)

Description

x is a vector or matrix.
If x is a matrix, it is treated columnwise.
nan values in x are ignored.
p contains fractions 0<=p<=1 and can be a scalar or vector.

See also

quartile