<< isrow | Elementary functions | istril >> |
TF = iscalar(A) |
input array as a scalar, vector, matrix, or multidimensional array.
a logical: true if it is a scalar.
TF = isscalar(A) returns logical true if A is a scalar, meaning it is a 1-by-1 two-dimensional array.
Otherwise, it returns logical false.
x = [1+i, -i ; i, 2i];
isscalar(x)
isscalar(1)
Version | Description |
---|---|
1.10.0 | initial version |
Allan CORNET