Converting from floating point to fixed point.
Afficher commentaires plus anciens
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.
Réponse acceptée
Plus de réponses (1)
ON
le 27 Sep 2022
0 votes
1 commentaire
Walter Roberson
le 27 Sep 2022
int16(Value * 2^BitsAfterDecimalPoint)
Catégories
En savoir plus sur Signal Operations dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!