How can i choose specific elements from matrix ?

1 visualizzazione (ultimi 30 giorni)
Gn Gnk
Gn Gnk il 6 Set 2020
Commentato: Mohammad Sami il 7 Set 2020
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 Commenti
Asad (Mehrzad) Khoddam
Asad (Mehrzad) Khoddam il 6 Set 2020
if true line at begining and 'end' at the end is not necessary
Mohammad Sami
Mohammad Sami il 7 Set 2020
Yes. The two lines are added in when answering from mobile.

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Creating and Concatenating Matrices in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by