Is spzeros(m,n) empty?

The function nnz may be what you want. For a sparse matrix A that does not store any nonzero element, there exists nnz(A) == 0

2 Likes