"Yttrium" <
[email protected]> wrote in message news:<sSNXb.2451$
[email protected]>...
> wo when i have 0.002100205514 as a coefficient i enter it in the COE
> file as 2100205514 with the radix=10 and the width as i want it to be
> (with changing the coefficient to the size that it can fit the width!)?
>
> greetings,
>
> Yttrium
>
>
> <ccon> wrote in message news:[email protected]..
> scale your numbers to integer, the coef width depends on the
> resolution(decimal points)you wish.
> --
yup, it's something like that, and it also depends on max/min range of
your coefficients. For the number in your example you will need 32 bit
coe, and if your coef is signed you will need 1 more bit. In
practical you may reduce your resolution to fit in smaller device.
Generally speaking, you may ask yourself what kind of device you can
afford? what is your data width? howmany taps? and what kind of
FIR?...