How do I delete specific elements from a matrix?

1 次查看(过去 30 天)
How do I delete numbers >10 or <-10 from the matrix?

采纳的回答

Paolo
Paolo 2018-6-9
Tijdgoed((Tijdgoed > 10 | Tijdgoed <-10)) = [];
You can confirm by using:
find(Tijdgoed>10)
find(Tijdgoed<-10)
which return empty vectors.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Get Started with MATLAB 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by