Log in
Register
Home
Forums
New posts
Search forums
What's new
Featured content
New posts
New profile posts
Latest activity
News
Members
Current visitors
New profile posts
Search profile posts
Features
Log in
Register
What's new
Search
Search titles only
By:
Search titles only
By:
New posts
Search forums
Menu
Install the app
Install
Reply to thread
Home
Forums
Pro Audio
Varsity
FIR filters
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
<blockquote data-quote="Frank Koenig" data-source="post: 147998" data-attributes="member: 416"><p>Re: FIR filters</p><p></p><p></p><p></p><p>Hi Michael,</p><p></p><p>We may be going off in slightly different directions so I'll try to clarify. When I used the term Hilbert transform, which likely I should not have, I was trying to account for the generation of the analytic signal upon transforming back to the time domain, as the Hilbert transform relates the real and imaginary parts of an analytic signal. This has nothing to do with using the Hilbert transform to relate the log magnitude and phase of a minimum phase system. I'll take another crack at the recipe.</p><p></p><p>Start with the impulse response, let's call it h.</p><p></p><p>Take the DFT of h of size N and call it H.</p><p></p><p>Put the positive frequency values of H in one end of an array G of size M where M > N (I've been using M = 8*N). The rest of G is filled with 0s. This has two effects when G gets transformed back: the signal is upsampled by M/N (sinc interpolation) and the time domain result will be an analytic signal since the negative frequency values in H were set to 0. This second effect is the implicit "Hilbert transform".</p><p></p><p>For each frequency band{</p><p></p><p> Multiply G with that band's Gaussian window.</p><p></p><p> Take the IDFT of the product, which is a complex signal in the time domain.</p><p></p><p> Plot the log magnitude.</p><p>}</p><p></p><p>I can send you the R code, for what it's worth, but you can probably code this up in Matlab in about 10 minutes.</p><p></p><p>Best,</p><p></p><p>--Frank</p></blockquote><p></p>
[QUOTE="Frank Koenig, post: 147998, member: 416"] Re: FIR filters Hi Michael, We may be going off in slightly different directions so I'll try to clarify. When I used the term Hilbert transform, which likely I should not have, I was trying to account for the generation of the analytic signal upon transforming back to the time domain, as the Hilbert transform relates the real and imaginary parts of an analytic signal. This has nothing to do with using the Hilbert transform to relate the log magnitude and phase of a minimum phase system. I'll take another crack at the recipe. Start with the impulse response, let's call it h. Take the DFT of h of size N and call it H. Put the positive frequency values of H in one end of an array G of size M where M > N (I've been using M = 8*N). The rest of G is filled with 0s. This has two effects when G gets transformed back: the signal is upsampled by M/N (sinc interpolation) and the time domain result will be an analytic signal since the negative frequency values in H were set to 0. This second effect is the implicit "Hilbert transform". For each frequency band{ Multiply G with that band's Gaussian window. Take the IDFT of the product, which is a complex signal in the time domain. Plot the log magnitude. } I can send you the R code, for what it's worth, but you can probably code this up in Matlab in about 10 minutes. Best, --Frank [/QUOTE]
Insert quotes…
Verification
Post reply
Home
Forums
Pro Audio
Varsity
FIR filters
Top
Bottom
Sign-up
or
log in
to join the discussion today!