what is fixed-point in a simulink model and how to do it?
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
saeede soleymani
le 2 Déc 2015
Commenté : saeede soleymani
le 2 Déc 2015
what means fixed point in a simulink model and how to do it ??
0 commentaires
Réponse acceptée
Titus Edelhofer
le 2 Déc 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
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Fixed-Point Designer dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!