mathlayer
®
About
·
Downloads
·
Functions
·
Support
·
Community
nnz
>
Functions
>
Data Analytics
nnz(X) return the number of non zero elements in X.
Examples
> X = [0 1 3; 2 0 0] [X:2x3 double] > nnz(X) [ans:3]
Resources
See also
find
|
isa
|
size