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

7 visualizaciones (últimos 30 días)
Ajeya Gupta
Ajeya Gupta el 5 de Oct. de 2017
Editada: Ajeya Gupta el 5 de Oct. de 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.

Respuestas (0)

Categorías

Más información sobre 2-D and 3-D Plots en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by