How can i choose specific elements from matrix ?

2 ビュー (過去 30 日間)
Gn Gnk
Gn Gnk 2020 年 9 月 6 日
コメント済み: Mohammad Sami 2020 年 9 月 7 日
Hello ,
i have a mat 3x3 like this one below:
H=[001;110;010]
I want to choose the elements that contain 2 or more zeros .
How can i implement this method on matlab code ?I tried using find but it didnt turn out into something .
Any ideas would be useful.
Thank you
  4 件のコメント
Asad (Mehrzad) Khoddam
Asad (Mehrzad) Khoddam 2020 年 9 月 6 日
if true line at begining and 'end' at the end is not necessary
Mohammad Sami
Mohammad Sami 2020 年 9 月 7 日
Yes. The two lines are added in when answering from mobile.

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

回答 (0 件)

カテゴリ

Help Center および File ExchangeMatrix Indexing についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by