fit S11to poles and zeros like in the article

4 vues (au cours des 30 derniers jours)
fima v
fima v le 12 Août 2023
Hello,In the article bellow they refer to a method of converting s1p file (attached as text into a pole zero model .
could you please show me how can i convert the S1P file into such model using matlab?
Thanks.

Réponses (1)

Anudeep Kumar
Anudeep Kumar le 31 Juil 2025
I believe you can use various MATLAB functions as 'sparameters','rationalfit' based on your data to achieve your goal.
You can extract your Touchstone S-Parameter file using 'sparameters' as below
% Read the S1P file
sobj = sparameters('model_txt.txt'); % It is preferred the file is in .s1p or compatible format.
freq = sobj.Frequencies; % Frequency vector (Hz)
s11 = rfparam(sobj,1,1); % S11 parameter (complex)
Then depending on your corcuit you may need to convert S11 to impedance or admittance.
Using 'rationalfit' you can fit a rational fucntion to your data to get Poles and Zeros. Then based on the formula metioned in the attached article you can write a simple code to calculate 'Ms1' and 'M11' with your extracted Zeros and Poles.
I have hereby attached the documentations of the functions mentioned for your reference:
I have also attached some examples and tutorials provided by MATLAB on this topic which might be relevant and help you achieve your goal.
I hope this helps to some extent!

Catégories

En savoir plus sur Mathematics dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by