Use MATLAB to create the ideal filter shown in Figure 2, both in discrete and continuous domains. Use a sampling period of 1/10kHz for the discrete case. Display the expressions for H(s) and H(z), as well as an actual Bode plot.
20 dB/decade
3 rad/sec
5
15
... dB
40 dB/decade
-30 dB
Figure 2: Bode plot of the passband filter