isint16

Return true if variable var is a signed 16-bit integer type array.

Syntax

  • res = isint16(var)

Input argument

  • var - a variable

Output argument

  • res - a logical: true or false

Description

isint16 returns a logical 1if the argument is a signed 16-bit integer array and a logical 0 otherwise.

Examples

A = 3;
res = isint16(A)
B = int16(3);
res = isint16(B)

See also

isa, int16, isinteger.

History

Author

Allan CORNET

Last updated