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

조회 수: 3 (최근 30일)
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,

채택된 답변

Muthu Annamalai
Muthu Annamalai 2015년 8월 4일
편집: Muthu Annamalai 2015년 8월 4일
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
Ankit Gupta
Ankit Gupta 2015년 8월 4일
편집: Ankit Gupta 2015년 8월 4일
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.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by