| Symbolic Math Toolbox™ | ![]() |
int8(S)
int16(S)
int32(S)
int64(S)
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.
Note The output of int8, int16, int32, and int64 does not have data type symbolic. |
The following table summarizes the output of these four functions.
Function | Output Range | Output Type | Bytes per Element | Output Class |
|---|---|---|---|---|
-128 to 127 | Signed 8-bit integer | 1 | ||
-32,768 to 32,767 | Signed 16-bit integer | 2 | ||
-2,147,483,648 to 2,147,483,647 | Signed 32-bit integer | 4 | ||
-9,223,372,036,854,775,808 to 9,223,372,036,854,775,807 | Signed 64-bit integer | 8 |
sym, vpa, single, double, uint8, uint16, uint32, uint64
![]() | int | inv | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |