How do I delete specific elements from a matrix?
1 回表示 (過去 30 日間)
古いコメントを表示
How do I delete numbers >10 or <-10 from the matrix?
0 件のコメント
採用された回答
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 Center および File Exchange で Multidimensional Arrays についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!