Azzera filtri
Azzera filtri

How do I delete specific elements from a matrix?

1 visualizzazione (ultimi 30 giorni)
How do I delete numbers >10 or <-10 from the matrix?

Risposta accettata

Paolo
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)

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!

Translated by