The use of IFFT

3 views (last 30 days)
Alycia
Alycia on 12 Feb 2016
Edited: Alycia on 18 Mar 2016
Can any kind soul please help or provide some kickstart?
I have a transfer function/frequency response, h(f). Where h(f) is calculated by applying FFT to the csv data and then V2(f) is divided with V1(f).

Accepted Answer

Star Strider
Star Strider on 12 Feb 2016
Your data are frequency and only the corresponding amplitudes of the input and output signal at each frequency. You need to measure the phase data at each frequency as well, and since this is missing, half of your data are missing.
You could calculate the transfer function from the complex fft of both the input and output time domain data, but lacking the phase data, reconstructing the impulse response is not possible.
If you have complex frequency data, you can use the Signal Processing Toolbox invfreqz function to estimate the transfer function, and then use impz to calculate the impulse response.
  12 Comments
Alycia
Alycia on 18 Feb 2016
I was sick since Monday but I'm feeling great now. Thank you so much for the very well explained codes! I am a newbie in matlab, really appreciate that you extended your help for almost a week. Will give it a try later! May I approach you again if I have encountered doubts to the code above?
Star Strider
Star Strider on 18 Feb 2016
Sorry you were ill. I picked up something last week as well. It was accompanied by the unusual complication of viral labyrinthitis, so that provided a bit of fun.
As always, my pleasure!
Of course you can! My Accepted Answers come with implied support as long as the topic is reasonably close to the original.

Sign in to comment.

More Answers (0)

Categories

Find more on Get Started with Signal Processing Toolbox in Help Center and File Exchange

Tags

No tags entered yet.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!