identify numbers greater than a specific number
2 次查看(过去 30 天)
显示 更早的评论
Hello I have the following data T = { 3 5 6 7 8 9 2 6 9 10 2 12 13} I want to know the numbers that are greater than for instance 7 and their position on the array. Thank for your help in advance Tino
0 个评论
采纳的回答
KALYAN ACHARJYA
2019-6-20
编辑:KALYAN ACHARJYA
2019-6-20
T =[3 5 6 7 8 9 2 6 9 10 2 12 13];
idx=find(T>7) % Gives index position
num=T(idx) % Gives Numbers
0 个评论
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!