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

 Respuesta aceptada

Azzi Abdelmalek
Azzi Abdelmalek el 19 de Jul. de 2016
Editada: Azzi Abdelmalek el 19 de Jul. de 2016

1 voto

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

Más respuestas (0)

Etiquetas

Preguntada:

el 19 de Jul. de 2016

Editada:

el 19 de Jul. de 2016

Community Treasure Hunt

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

Start Hunting!

Translated by