Plotting the Impedance from the s2p file (in time domain)
3 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!