Actually my question is how to get the weighted average of two or three IIR filters given their transfer functions, which is nearly equal to this question. How to calculate the total transfer function of the summation of two IIR filters? For example, I have two filters as following
$$H_1(z) = \frac{b_0+b_1z^{-1}+b_2z^{-2}}{1+a_1z^{-1}+a_2z^{-2}}$$
$$H_2(z) = \frac{b_0'+b_1'z^{-1}+b_2'z^{-2}}{1+a_1'z^{-1}+a_2'z^{-2}}$$
I can directly solve the sum of these two fractions as $H(z) = H_1(z)+H_2(z)$, but the problem is that my filter orders are generally around dozens, I have no idea how to do it.
I also know that I can put a signal through this two filters and sum the output together, but it requires double computational complexity.
Is there any other way to solve this problem? Thanks!