what is fixed-point in a simulink model and how to do it?
2 views (last 30 days)
Show older comments
saeede soleymani
on 2 Dec 2015
Commented: saeede soleymani
on 2 Dec 2015
what means fixed point in a simulink model and how to do it ??
0 Comments
Accepted Answer
Titus Edelhofer
on 2 Dec 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
More Answers (0)
See Also
Categories
Find more on Fixed-Point Designer in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!