photo

Muhammad Ilias Amin


自 2014 起处于活动状态

Followers: 0   Following: 0

消息

统计学

  • First Answer

查看徽章

Feeds

排序方式:

已回答
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...

10 years 前 | 4