int8(x)
converts a double array into an array of int8 (range -128 up to +127)
double, int16, uint8, uint16, uint32