Converting from floating point to fixed point.
Mostrar comentarios más antiguos
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.
Respuesta aceptada
Más respuestas (1)
ON
el 27 de Sept. de 2022
0 votos
1 comentario
Walter Roberson
el 27 de Sept. de 2022
int16(Value * 2^BitsAfterDecimalPoint)
Categorías
Más información sobre Signal Operations en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!