How do I delete specific elements from a matrix?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
How do I delete numbers >10 or <-10 from the matrix?
0 commentaires
Réponse acceptée
Paolo
le 9 Juin 2018
Tijdgoed((Tijdgoed > 10 | Tijdgoed <-10)) = [];
You can confirm by using:
find(Tijdgoed>10)
find(Tijdgoed<-10)
which return empty vectors.
1 commentaire
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Multidimensional Arrays dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!