Plotting the Impedance from the s2p file (in time domain)

8 vues (au cours des 30 derniers jours)
Ajeya Gupta
Ajeya Gupta le 5 Oct 2017
Modifié(e) : Ajeya Gupta le 5 Oct 2017
I am using the RF Toolbox package in Matlab. I have an s2p file, and I want to plot the Impedance graph. I am currently using the following lines of code:
file1 = sparameters(A.s2p);
Impedance.Parameters = s2z(file1.Parameters, 50);
Impedance1(:) = abs(Impedance.Parameters(1,1,:))
plot(Impedance1)
The problem in this method is that the I am using 'plot' function. Do we have something similar to 'rfplot' where it plots the frequency or time on the x-axis automatically? Also, if i write the code in this way, I do see the impedance plot close to 50 ohms, but not exactly as I would have expected (I would have expected some high rise bumps at the inline connectors which the plot doesn't reflect). Any help in this matter will be greatly appreciated.
Thank You.

Réponses (0)

Catégories

En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by