Converting from floating point to fixed point.
Show older comments
How can i convert from floating point to two's complement? I need to convert a vector of filter coefficients from Filter Designer but I do not know how.
Accepted Answer
More Answers (1)
ON
on 27 Sep 2022
0 votes
1 Comment
Walter Roberson
on 27 Sep 2022
int16(Value * 2^BitsAfterDecimalPoint)
Categories
Find more on Signal Operations 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!