How to find cell positions of values within specific interquartile range from a column vector?

1 view (last 30 days)
I have one year daily rainfall values in A. I extracted values of interest (B) from A within quantiles .85 to .99 using following:
V = quantile(A,[0.85 .99])
B = A(A>V(1) & A<V(2))
How to find corresponding cell positions of these values in A?

Accepted Answer

KSSV
KSSV on 31 Jan 2020
idx = find(A>V(1) & A<V(2)) ;

More Answers (0)

Categories

Find more on Dates and Time in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!