MATLAB Function Reference Previous page   Next Page
islogical

Determine if input is logical array

Syntax

Description

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

Examples

Given the following cell array,

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

See Also

logical, isnumeric, ischar, isreal, logical operators (elementwise and short-circuit), isa, is*


Previous page  isletter ismember Next page

© 1994-2005 The MathWorks, Inc.