Finding threshold of matrix
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Suppose u have a matrix A with rand (i.e 0-1). Now a threshold(x) of A is to be determined so that 70% of values of the given matrix A are greater than the threshold(x).
0 commentaires
Réponses (1)
Walter Roberson
le 16 Sep 2017
sort() and index 3/10 of the way through.
2 commentaires
Walter Roberson
le 16 Sep 2017
Yes. See the Algorithms section of https://www.mathworks.com/help/stats/prctile.html#btgyzpd-1 which describes the algorithm prctile uses.
Voir également
Catégories
En savoir plus sur Descriptive Statistics dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!