How to remove certain elements in a matrix according to the value of elements in an array
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Omer hakan Yaran
am 20 Jun. 2022
Beantwortet: Voss
am 20 Jun. 2022
Hi all,
I want to manipulate a matrix according to the values in the first column. I want to remove rows which their values on the first column is less than 5. Here is an example
Original:
5 6
2 1
4 2
7 9
9 5
New matrix:
5 6
7 9
9 5
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Multidimensional Arrays finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!