and Fig.3.10 shows its frequency response, computed using the
matlab utility myfreqz listed in §7.5.1. (Both
Matlab and Octave have compatible utilities freqz, which
serve the same purpose.) Note that the sampling rate is set to 1, and
the frequency axis goes from 0 Hz all the way to the sampling rate,
which is appropriate for complex filters (as we will soon see). Since
real filters have Hermitian frequency responses (i.e., an
evenamplitude response and oddphase response), they
may be plotted from 0 Hz to half the sampling rate without loss of
Figure 3.9:Impulse response of section 1 of
the example filter.
Frequency response of section 1 of the example filter.
Figure 3.11 shows the impulse response of the complex
and Fig.3.12 shows the corresponding frequency response.