MATLAB Function Reference |
Syntax
Description
tf = isscalar(A)
returns logical 1
(true
) if A
is a 1-by-1 matrix, and logical 0
(false
) otherwise.
The A
argument can also be a MATLAB object, as described in MATLAB Classes and Objects, as long as that object overloads the size
function.
Examples
Test matrix A
and one element of the matrix:
See Also
isvector
, isempty
, isnumeric
, islogical
, ischar
, isa
, is*
isreal | issorted |
© 1994-2005 The MathWorks, Inc.