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

조회 수: 1 (최근 30일)
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?

채택된 답변

KSSV
KSSV 2020년 1월 31일
idx = find(A>V(1) & A<V(2)) ;

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Dates and Time에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by