finding which number row my result is from

1 visualizzazione (ultimi 30 giorni)
Jasmine Mahony
Jasmine Mahony il 10 Feb 2021
Risposto: Jakob il 10 Feb 2021
hello,
I have a data set which I am finding a percentile from. I get the answer fine but what I really want is what row (from my original matrix of data) the percentile answer is from, as I need this for the next step of my calculation. I cannot do it manually as I have a lot of datasets to do this for.
thank you

Risposte (2)

Iuliu Ardelean
Iuliu Ardelean il 10 Feb 2021

Jakob
Jakob il 10 Feb 2021
[Row, Col] = find(YourMatrix == YourPercentile)

Categorie

Scopri di più su Matrices and Arrays in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by