MATLAB Function Reference    
issparse

Test if matrix is sparse

Syntax

Description

tf = issparse(S) returns logical true (1) if the storage class of S is sparse and logical false (0) otherwise.

See Also

is*


  isspace isstr