performing ifft of frequency response
6 views (last 30 days)
Show older comments
I have measured the frequency response of two filters separately. For each, I have the frequency at which the response was measured and the real and imaginary parts of that signal.
- I would like to perform the ifft to get their individual impulse responses.
- Then I would like to convolve these responses to get their combined impulse response.
- Then I would like to do a fft to get the frequency response of them combined.
- Then I would like to plot the magnitude and phase of this response with frequency on the x axis and magnitude or phase on the y-axis. I really just need to figure out how to convert the sample number of the impulse response to frequency.
How do I do this? I'm looking online and I am having trouble putting all the pieces together.
Can someone lend a hand please?
Accepted Answer
Windell
on 26 May 2016
1 Comment
Star Strider
on 26 May 2016
Edited: Star Strider
on 26 May 2016
My pleasure!
That’s frequency-domain convolution. I would do convolution in the time domain by using the conv function on the numerator and denominator polynomials. Then use those polynomials as the transfer function for your system.
I would then use the minreal function in the Control System Toolbox. That would eliminate pole-zero cancellations and simplify your convolved model. That would make your model more stable and your simulations more efficient.
It’s taking me a while to understand what you’re doing.
More Answers (0)
See Also
Categories
Find more on Fourier Analysis and Filtering in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!