int16(x)
converts a double array into an array of int16 (range -32768=-2^25 up to +32767=+2^15-1)
double, int8, uint8, uint16, uint32