as the Matlab script created by Firas needs the Filter toolbox, I have
an equivalent script for Octave.
It uses only ‘freqz’ for the computation of the transfer functions
For the baseband, also the images due to aliasing is plotted
I think, the second point gives some valuable information. Part of the
sidelobe of the CIC filter falls into the passband of the HBF, so it is
strong (only ~50dB attenuation). The new plot strengthens this.
Plots and script is available here:
Stefan Brüns / Bergstraße 21 / 52062 Aachen
phone: +49 241 53809034 mobile: +49 151 50412019