摘要 |
A filter (26) is used to average power values of a signal that has been subjected to varying gain. The gain is factorised into two factors, the first being the highest power of 2 within the gain, and the second being a factor which can be multiplied with the first factor to reproduce the gain. The power values are divided by the second factor before reaching the filter (26) and by the first factor after passing through the filter (26). The signal values already in the filter (26) are bit-shifted when the exponent in the first changes so that the filter is not disrupted by changes in the gain. |