[問題]digital filter的問題

看板Electronics作者 (evanescent)時間13年前 (2012/07/11 23:45), 編輯推噓2(205)
留言7則, 3人參與, 最新討論串1/1
兩個問題 不過講的可能是一樣的東西... 1. 如果濾波器輸出是10 bits, 濾波器內部設計需要超過10 bits 嗎 2. An FIR filter with 10 bits in and 10 bit out, representing integer numbers between 0 to 2^10. To convert the coefficients from floating point to fixed point, can I truncate the fractional bits of the coefficient without losing the resolution? (No but why??) How about IIR? (No but why??) thanks -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 71.204.133.130

07/14 03:54, , 1F
1. Dynamic range... accumulative sum may overflow
07/14 03:54, 1F

07/14 03:57, , 2F
2. Because there is exponent part in floating point ?
07/14 03:57, 2F

07/14 13:34, , 3F
it would be better if you think both data and coefficient
07/14 13:34, 3F

07/14 13:34, , 4F
as fractional numbers, not integer
07/14 13:34, 4F

07/14 13:36, , 5F
in/out/coef/internal nodes usually need different format
07/14 13:36, 5F

07/14 13:42, , 6F
thx.But why diff format? Why not all 2's complement?
07/14 13:42, 6F

07/15 12:59, , 7F
Oh, I mean different number of int/frac bits
07/15 12:59, 7F
文章代碼(AID): #1F_Pz-Fn (Electronics)