I have to filter an audio signal through a cascade of two equal low-pass FIR filters. They are half-band filters so each one has a cut-off at $\pi/2$.
Then, I have to multiply the resulting signal (obtained through the cascade of the two filters) for $z^{-q}$, where $q$ is a scalar.
Firstly, I thought to convolve the impulse responses of the two low-pass filters in this way (where hlp1=hlp2
):
hconv=conv(hlp1, hlp2),
and then filter the audio signal (called x
) in this way:
x_filtered=filter(hconv,1,x)
Is it correct?
I expect that the frequency response hconv
is a low-pass filter with cutoff at $\pi/4$, but the command fvtool(hconv)
shows that hconv
has a cutoff at $\pi/2$, and not at $\pi/4$.
Is it correct?
Moreover, how can I implement the multiplication of the filtered signal x_filtered
for $z^{-q}$?