필터 지우기
필터 지우기

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

조회 수: 4 (최근 30일)
Ajeya Gupta
Ajeya Gupta 2017년 10월 5일
편집: Ajeya Gupta 2017년 10월 5일
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.

답변 (0개)

카테고리

Help CenterFile Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by