Documentation

issparse

Determine whether input is sparse

Syntax

TF = issparse(S)

Description

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

See Also

| |

Introduced before R2006a

Was this topic helpful?