uint16 (Matlab function)

Convert to 16-bit unsigned integer

Matlab/Scilab equivalent

Matlab Scilab

`uint16`_
`uint16`_

Particular cases

For infinite values, Scilab and Matlab uint16 return different values.

Examples

Matlab Scilab

A = `uint16`_(inf)
A = 65535
A = `uint16`_(%inf)
A = 0

Table Of Contents

This Page