issingle

Return true if variable var is a single matrix.

Syntax

  • res = issingle(var)

Input argument

  • var - a variable

Output argument

  • res - a logical: true or false

Description

issingle returns a logical 1 if the argument is a single matrix and a logical 0 otherwise.

Examples

A = 3.6;
res = issingle(A)
B = single([1 ; 3]);
res = issingle(B)

See also

isdouble, single.

History

Version
Description

1.0.0

initial version

Author

Allan CORNET

Last updated