0
$\begingroup$

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.

$\endgroup$
  • $\begingroup$ well, you just have to find the Fourier transform of the function and extract the amplitude, no? $\endgroup$ – Gideon Genadi Kogan Sep 2 '19 at 12:17
  • $\begingroup$ Have you checked matlabs freqzfunction, in the case that W are your filter coefficients the function call would be freqz(W,1) $\endgroup$ – Irreducible Sep 2 '19 at 13:21
  • $\begingroup$ 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. $\endgroup$ – mka_07 Sep 3 '19 at 3:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.