How do I delete specific elements from a matrix?

 採用された回答

Paolo
Paolo 2018 年 6 月 9 日

1 投票

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

1 件のコメント

jakobjakob
jakobjakob 2018 年 6 月 9 日
編集済み: Stephen23 2018 年 6 月 10 日
Thanks, it works perfectly!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeCreating and Concatenating Matrices についてさらに検索

質問済み:

2018 年 6 月 9 日

編集済み:

2018 年 6 月 10 日

Community Treasure Hunt

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

Start Hunting!

Translated by