identify numbers greater than a specific number
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Tino
il 20 Giu 2019
Modificato: KALYAN ACHARJYA
il 20 Giu 2019
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 Commenti
Risposta accettata
KALYAN ACHARJYA
il 20 Giu 2019
Modificato: KALYAN ACHARJYA
il 20 Giu 2019
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 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Get Started with MATLAB in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!