DSPRelated.com
Forums

How to plot freq response for a combined filter

Started by egan_nc July 30, 2003
Hi,
Can anybody help me plot a combined frequency response of 2 filters
in Hz?
Hk=Hk1.*Hk2;
The sampling freq for Hk1 is 96Khz and the sampling freq for Hk2 is
24Khz.
figure(1)
plot(96e3*w/(2*pi),20*log10(abs(Hk2)),'y');
hold on
figure(1)
plot(24e3*w/(2*pi),20*log10(abs(Hk3)),'b');
hold on
I use above lines to plot the filters separately and they look right.
To plot a combined filter Hk, what sampling rate should I used?
figure(1)
plot("????"*w/(2*pi),20*log10(abs(Hk3)),'b');

Thanks,
EngGan