uint16
- :
y =uint16(x)¶ Return x recast as an unsigned 16-bit integer array, with range 0 to 65535.
Non-integer values are rounded to the nearest integer, with halves rounded away from zero. Values outside the representable range saturate rather than wrapping, so negatives become 0 and values above the maximum become 65535. The shape of x is preserved and exactly one argument is required.