Quantiles of a matrix
5 views (last 30 days)
Show older comments
Saul Hathaway
on 19 Jul 2016
Edited: Azzi Abdelmalek
on 19 Jul 2016
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
0 Comments
Accepted Answer
Azzi Abdelmalek
on 19 Jul 2016
Edited: Azzi Abdelmalek
on 19 Jul 2016
quantile(quantile(x,p),p)
%or maybe
quantile(x(:),p)
0 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!