nan_percentile Descriptive Statistics nan_quantile

NaN Toolbox >> NaN Toolbox > Descriptive Statistics > nan_prctile

nan_prctile

calculates the percentiles of histograms and sample arrays.

Calling Sequence

Q = nan_prctile(Y,q)
Q = nan_prctile(Y,q,DIM)
Q = nan_prctile(HIS,q)

Description

Q = nan_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 = nan_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

Authors

nan_percentile Descriptive Statistics nan_quantile