Y = int32(X)
| Parameter | Description |
|---|---|
| X | a matrix of double, single or integers. |
| Parameter | Description |
|---|---|
| Y | a matrix of 32-bit integer. |
int32 converts value to 32-bit integer type.
The value is rounded to the nearest int32 value on conversion. A value that is above or below the range for an int32 class is mapped to one of the endpoints of the range [-2147483648, 2147483647].
A = [1 -2147483649 -120 127 2147483647 2147483648]
B = int32(A)
| Version | Description |
|---|---|
| 1.0.0 | initial version |