Hello,
when using the quantile(x,p) function on a N by N matrix it returns a 1xN vector - is there a function which computes a 1x1 scalar quantile of the whole matrix?
Many thanks

 Réponse acceptée

Azzi Abdelmalek
Azzi Abdelmalek le 19 Juil 2016
Modifié(e) : Azzi Abdelmalek le 19 Juil 2016

1 vote

quantile(quantile(x,p),p)
%or maybe
quantile(x(:),p)

Plus de réponses (0)

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by