int8, int16, int32, int64
Convert symbolic matrix to signed integers
int8(S) converts a symbolic
matrix S to a matrix of signed 8-bit integers.
int16(S) converts S to
a matrix of signed 16-bit integers.
int32(S) converts S to
a matrix of signed 32-bit integers.
int64(S) converts S to
a matrix of signed 64-bit integers.
The output of int8, int16, int32,
and int64 does not have data type symbolic.
The following table summarizes the output of these four functions.
-128 to 127
Signed 8-bit integer
-32,768 to 32,767
Signed 16-bit integer
-2,147,483,648 to 2,147,483,647
Signed 32-bit integer
-9,223,372,036,854,775,808 to 9,223,372,036,854,775,807
Signed 64-bit integer
double | single | sym | uint16 | uint32 | uint64 | uint8 | vpa
Was this topic helpful?