Clear Filters
Clear Filters

timeresp function vs IFFT function

25 views (last 30 days)
Anudeep J
Anudeep J on 26 Mar 2020
Commented: Max Miller on 22 Dec 2020
Hi,
I had frequency response of a system generated. What is the difference I get if I apply timeresp function and IFFT function on that frequency response?
Are they both same or different? What is the rational fit doing in timeresp fucntion?
Thanks
  1 Comment
Max Miller
Max Miller on 22 Dec 2020
Hello,
Check out the following quoted comment from Maria Sabrina Sarto (at the end of one of the rationalfit() references: Gustavsen.B and A.Semlyen, “Rational approximation of frequency domain responses by vector fitting,” IEEE Trans. Power Delivery, Vol. 14, No. 3, pp. 1052–1061, July 1999)
"It can be also considered as a general approach to compute numerically the inverse Fourier transform of functions describing electromagnetic systems in the frequency domain. In fact, these functions are often characterized by very broad frequency spectra; they can be either smooth functions or can have many resonance peaks, so that the calculation of their discrete inverse Fourier transform can be expensive and inefficient"
Here "It" can be interpreted as using rationalfit() to get the rational function object which is supplied to timeresp(), along with an input time series, to effectively calculate the discrete inverse Fourier transform.
The rational fit guarantees stability and causality of the response but not necessarily passivity. Check out: https://nl.mathworks.com/help/rf/ug/passivity-test-visualize-and-enforce-passivity-of-ratioanlfir-output.html
Hope this helps,
Max

Sign in to comment.

Answers (0)

Categories

Find more on Fourier Analysis and Filtering in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!