MATLAB Function Reference    
islogical

Determine if item is a logical array

Syntax

Description

tf = islogical(A) returns logical true (1) if A is a logical array and logical false (0) otherwise.

Examples

Given the following cell array,

islogical shows that only C{1,3} is a logical array.

See Also
logical, logical operators, isnumeric, ischar, isa, is*


  isletter ismember