How do I delete specific elements from a matrix?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
jakobjakob
am 9 Jun. 2018
Bearbeitet: Stephen23
am 10 Jun. 2018
How do I delete numbers >10 or <-10 from the matrix?
0 Kommentare
Akzeptierte Antwort
Paolo
am 9 Jun. 2018
Tijdgoed((Tijdgoed > 10 | Tijdgoed <-10)) = [];
You can confirm by using:
find(Tijdgoed>10)
find(Tijdgoed<-10)
which return empty vectors.
1 Kommentar
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!