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

Desired Impulse Response

h = ifft(H); % zero-centered form

% rough estimate of time-aliasing error:
aerr = norm(h(N/2-N/32:N/2+N/32))/norm(h)

aerr =
   4.8300e-04

% for plots, prefer negative times on the left:
hp = [h(N/2+2:N), h(1:N/2+1)];


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]