Converts the input elements to 32-bit signed integers.
c = int32(a)
Scalar or array of any dimension of real numbers or of Booleans.
Elements of a as 32-bit signed integers. c is a scalar or an array of the same size as a. If a is a complex number, this function converts the real and imaginary parts of the number separately and then returns a complex number that consists of those parts.
If an element in a is greater than 2^31-1, the corresponding element in c is 2^31-1. If an element in a is less than -2^31, the corresponding element in c is -2^31.
A = [34.333, 123456.4, -38] C = int32(A)
Where This Node Can Run:
Desktop OS: Windows
FPGA: This product does not support FPGA devices