How do I delete specific elements from a matrix?
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
How do I delete numbers >10 or <-10 from the matrix?
0 Commenti
Risposta accettata
Paolo
il 9 Giu 2018
Tijdgoed((Tijdgoed > 10 | Tijdgoed <-10)) = [];
You can confirm by using:
find(Tijdgoed>10)
find(Tijdgoed<-10)
which return empty vectors.
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Multidimensional Arrays 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!