This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Fixed-Point to Fixed-Point Conversion

This example shows how to convert from one fixed-point data type to another fixed-point data type. In this case the conversion is between sfix32_En2 and ufix8_En1, meaning:

  • a signed 32-bit quantity with 2 bits to the right of the binary point

  • an unsigned 8-bit quantity with 1 bit to the right of the binary point

Was this topic helpful?