Magnitude attenuation by a filter

I have a filter, with coefficients given by $$W=\sin((2*\pi*2*F_f*k/F_s)/(2*\pi*2*F_f*k/F_s))*h[k]$$, where $$F_f$$ is the filter reference frequency, $$k$$ runs from $$-N/2$$ to $$N/2$$ ($$N$$ is the order of the filter), $$F_s$$ is the sampling frequency and $$h[k]$$ is a hamming window. For any value of N what will be the attenuation of magnitude encountered by a signal passed through it.

• well, you just have to find the Fourier transform of the function and extract the amplitude, no? – Gideon Genadi Kogan Sep 2 '19 at 12:17
• Have you checked matlabs freqzfunction, in the case that W are your filter coefficients the function call would be freqz(W,1) – Irreducible Sep 2 '19 at 13:21
• freqz will provide me with the amplitude and phase response of the filter, not the attenuation value, which is primarily what i am looking for. – mka_07 Sep 3 '19 at 3:28