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!