int16
- :
y =int16(x)¶ Return x recast as a signed 16-bit integer array, with range −32768 to 32767.
Non-integer values are rounded to the nearest integer, with halves rounded away from zero, and any value outside the representable range saturates to the nearest limit rather than wrapping around. The shape of x is preserved and exactly one argument is required.