Find specific coulum with condition in large matrix
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
mohammed hussein
il 31 Gen 2021
Commentato: mohammed hussein
il 1 Feb 2021
Hellow
i would like to know the specific coulum or coulums in matrix that have two condtion in each row . these two number in each row should be in the same coulum on matrix
for example if i have this matrix
A =
1 2 3 4 5 6
7 8 9 10 11 12
if i want number in row 1 should be less than 4 and row 2 should be higher than 7
the results should have
B =
2 3
8 9
thank you for helping
2 Commenti
madhan ravi
il 31 Gen 2021
Modificato: madhan ravi
il 31 Gen 2021
What about 10, 11 and 12?
edit: Missed out the part "these two number in each row should be in the same coulum on matrix"
Risposta accettata
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Matrix Indexing in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!