rationalfit
Approximate data using stable rational function object
Syntax
Description
The rationalfit function uses vector fitting with complex
frequencies to perform rational fitting on a complex frequency-dependent data. The
rationalfit returns an rfmodel.rational
object. The fit of the each element of the rationalfit function is given
by this equation:
Note
rational is recommend
over rationalfit because it enables faster simulation and improved
fitting of complex frequency-dependent data. (since R2023b)
creates a non-reflective
one-port fit = rationalfitrationalfit object with default properties.
specifies options to control aspects of fit. For example, fit = rationalfit(___,Name=Value)fit =
rationalfit(s,PoleSharing='Column') shares the poles by S-parameter column
terms for the fit. Specify name-value arguments after any of the input arguments from the
previous syntaxes.
Examples
Input Arguments
Name-Value Arguments
Output Arguments
Tips
To see how well the object fits the original data, use the freqresp
function to compute the frequency response of the object. Then, plot the original data and the
frequency response of the rational function object. For more information, see the freqresp reference
page or the above examples.
References
[1] 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.
[2] Zeng.R and J. Sinsky, “Modified Rational Function Modeling Technique for High Speed Circuits,” IEEE MTT-S Int. Microwave Symp. Dig., San Francisco, CA, June 11–16, 2006.
![Figure contains an axes object. The axes object with xlabel Freq [GHz], ylabel Magnitude (decibels) contains 2 objects of type line. This object represents S_{11}.](../../examples/rf/win64/RationalFunctionApproximationofSparameterDataExample_01.png)
![Figure contains an axes object. The axes object with xlabel Freq [GHz], ylabel Angle (radians) contains 2 objects of type line. This object represents S_{11}.](../../examples/rf/win64/RationalFunctionApproximationofSparameterDataExample_02.png)