isint8

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

Syntax

  • res = isint8(var)

Input argument

  • var - a variable

Output argument

  • res - a logical: true or false

Description

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

Examples

A = 3;
res = isint8(A)
B = int8(3);
res = isint8(B)

See also

isa, int8, isinteger.

History

VersionDescription

1.0.0

initial version

Author

Allan CORNET

Last updated