what is fixed-point in a simulink model and how to do it?

1 visualización (últimos 30 días)
what means fixed point in a simulink model and how to do it ??

Respuesta aceptada

Titus Edelhofer
Titus Edelhofer el 2 de Dic. de 2015
Hi,
fixed point means not using the usual double precision variables but using integers (with a scaling and bias). A simple example would be an 8 bit unsigned integer with a scaling of 2^-4. This means you have 4 bits for the value (i.e. values 0-15) and 4 bits after the decimal point (means a precision of 2^-4 = 0.0625).
Read the corresponding section in the Simulink documentation on "Fixed-Point Data" in the section Modeling->Configure Models->Data Types->Concepts.
Titus

Más respuestas (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by