How can i choose specific elements from matrix ?

2 vues (au cours des 30 derniers jours)
Gn Gnk
Gn Gnk le 6 Sep 2020
Commenté : Mohammad Sami le 7 Sep 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 commentaires
Asad (Mehrzad) Khoddam
Asad (Mehrzad) Khoddam le 6 Sep 2020
if true line at begining and 'end' at the end is not necessary
Mohammad Sami
Mohammad Sami le 7 Sep 2020
Yes. The two lines are added in when answering from mobile.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Logical dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by