Borrar filtros
Borrar filtros

How to convert floating point filter coeffiecients ( generated from FDA tools) to fixed point without Fixed point toolbox

3 visualizaciones (últimos 30 días)
Hi All, I am trying to design a decimator and a FIR filter using FDAtool, but I cant generate COE file for xilinx since I don't have fixed point addon, Is there a way to convert all the filter coefficients to fixed point without having fixed-point tool box, if there is any script or function present?. I can export the coefficient to ASCII files or to the workspace but need those coefficients in fixed point. Please let me know how to do that. Thanks,

Respuesta aceptada

Muthu Annamalai
Muthu Annamalai el 4 de Ag. de 2015
Editada: Muthu Annamalai el 4 de Ag. de 2015
Did you try the fixed point conversion tool ?
It generates fixed point MATLAB code as intermediate output during generation of fixed point C or HDL Code.
  1 comentario
Ankit Gupta
Ankit Gupta el 4 de Ag. de 2015
Editada: Ankit Gupta el 4 de Ag. de 2015
Hi ,
I cannot open the link you sent me. I have Signal processing toolbox, and I used fdatool gui. I was looking if there is a way to convert those coefficients to fixed point without having fixed point designer.I am currently trying to do those manually by using " norm " and multiply it with 2^n-1 where n is number of bits. I am saving all the coefficient in the workspace and then trying to convert them to fixed point.

Iniciar sesión para comentar.

Más respuestas (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by