I'm trying to solve a problem about filter design. We want to design a equalizer filter which have the following frequency response :
How can i get the difference equation from the impulse responce which is defined by:
$$ \frac{2 f_1}{F_s} \left ( {\rm sinc}(2 \pi f_1 n T_s) (g_1-g_2) \right )+ \frac{2 f_2}{F_s} \left ( {\rm sinc}(2 \pi f_2 n T_s) (g_2-g_3) \right )+ \frac{2}{F_s} \left ( f_3 g_3 {\rm sinc}(2 \pi f_3 n T_s)-f_0\cdot g_1 {\rm sinc}(2 \pi f_0 n T_s)\right ) $$