Extracting number in array at certain threshold and determine its position

Suppose that i have an array, i want to extract the number that higher than 5 and i want to know their position too. how can i do it? Thanks in advance!!
X=[10 8 6 7 8 4 12]

 채택된 답변

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 MATLAB Parallel Server에 대해 자세히 알아보기

제품

릴리스

R2021a

태그

질문:

2021년 5월 7일

댓글:

2021년 5월 7일

Community Treasure Hunt

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

Start Hunting!

Translated by