Question: Calculating non-zero matrix

Hi,

If I have a 18x18 matrix, among are some which values are zero. If I would like to know how many of it are zero and how many are non-zero, what should I write please?

Thanks.

Please Wait...