Filter löschen
Filter löschen

How do I delete specific elements from a matrix?

1 Ansicht (letzte 30 Tage)
jakobjakob
jakobjakob am 9 Jun. 2018
Bearbeitet: Stephen23 am 10 Jun. 2018
How do I delete numbers >10 or <-10 from the matrix?

Akzeptierte Antwort

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

Weitere Antworten (0)

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!

Translated by