Next  |  Prev  |  Up  |  Top  |  JOS Index  |  JOS Pubs  |  JOS Home  |  Search

Imaginary Part of Desired Impulse Response

\epsfig{file=eps/hilbertIRImagIdeal.eps,width=6in}

Apply window to ideal impulse response:

hw = wzp .* h; % Final FIR coefficients
Hw = fft(hw);  % Frequency response we'll see

Total stopband energy:

ierr = norm(Hw(N/2+2:N))/norm(Hw)
disp(sprintf(['Stop-band energy is %g percent of',...
             total spectral energy'], 100*ierr));


Next  |  Prev  |  Up  |  Top  |  JOS Index  |  JOS Pubs  |  JOS Home  |  Search

[Comment on this page via email]

``The Window Method for FIR Digital Filter Design}'', by Julius O. Smith III, (From Lecture Overheads, Music 421).
Copyright © 2020-06-27 by Julius O. Smith III
Center for Computer Research in Music and Acoustics (CCRMA),   Stanford University
CCRMA  [Automatic-links disclaimer]