int16
Convert to signed 16-bit integer (range −32,768 to 32,767).
Syntax
Section titled “Syntax”S = int16(X)Description
Section titled “Description”Returns X converted to int16. Values outside the range are saturated.
Example
Section titled “Example”int16(40000) % 32767 (saturated)