what is fixed-point in a simulink model and how to do it?
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
saeede soleymani
el 2 de Dic. de 2015
Comentada: saeede soleymani
el 2 de Dic. de 2015
what means fixed point in a simulink model and how to do it ??
0 comentarios
Respuesta aceptada
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)
Ver también
Categorías
Más información sobre Fixed-Point Designer en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!