MATLAB Answers

finding which number row my result is from

1 ビュー (過去 30 日間)
Jasmine Mahony
Jasmine Mahony 2021 年 2 月 10 日
回答済み: Jakob 2021 年 2 月 10 日
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

回答 (2 件)


Jakob
Jakob 2021 年 2 月 10 日
[Row, Col] = find(YourMatrix == YourPercentile)

Community Treasure Hunt

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

Start Hunting!

Translated by