MATLAB Answers

How to plot s-parameters in linear

조회 수: 4(최근 30일)
Moza Mohamed
Moza Mohamed 2021년 9월 19일
I use rfplot to plot magnitude of s-parameters in db, if i want to plot the s.parameters in linear form how can i do this ?

답변(1개)

Harikrishnan Balachandran Nair
Harikrishnan Balachandran Nair 2021년 9월 22일
Hi,
You can plot the real part of s parameters by setting the 'plotflag' as 'real'.
As an example , if 'hs' is your S-parameters object, to plot the real part of 'S21' you can use the following line of code
rfplot(hs,2,1,'real')
Similarily, you can also plot the imaginary value, absolute value and angle of the S parameter. You may refer to the following documentation to get a better idea on it.
https://www.mathworks.com/help/rf/ref/rfplot.html

Community Treasure Hunt

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

Start Hunting!

Translated by