photo

Muhammad Ilias Amin


Actif depuis 2014

Followers: 0   Following: 0

Message

Statistiques

  • First Answer

Afficher les badges

Feeds

Afficher par

Réponse apportée
Count the number of non-zero elements of a column/row of a 2D-Matrix?
a = [3 0 0; 0 2 0; 1 0 0]; To get the no of non zero columns: sum( all( a == 0, 1 ) ); To get the no of non zero rows: sum...

presque 11 ans il y a | 4