Extracting a certain value
이전 댓글 표시
I have a random array of 20 numbers from 1 to 120. How do extract the first number that is more than 70?
답변 (1개)
madhan ravi
2019년 2월 27일
편집: madhan ravi
2019년 3월 1일
array(find(array>70,1,'first'))
카테고리
도움말 센터 및 File Exchange에서 Matrices and Arrays에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!