フィルターのクリア

Converting FIR Filter Coefficients to Floating data type

4 ビュー (過去 30 日間)
Vivek Bhadouria
Vivek Bhadouria 2011 年 8 月 22 日
Hello,
I am having a filter coefficient say [0.1629 0.5055 0.4461 -0.0198 -0.1323 0.0218 0.0233 -0.0075].
I need to implement this filter in a FPGA (Virtex-4 ML402 Xtreme DSP Edition) and for that I need to convert these filter coefficients in floating data type. Please tell me how to perform this conversion in MATLAB.
Thanks in advance
Vivek Singh Bhadouria
India

採用された回答

Honglei Chen
Honglei Chen 2011 年 8 月 22 日
Hi Vivek,
You can either create a dfilt object using these coefficients and then change the Arithmetic property, see
doc dfilt
or you can manually convert them using double, single or fi, see
doc double
doc single
doc fi
HTH

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by