MATLAB Answers

How to plot s-parameters in linear

14 views (last 30 days)
Moza Mohamed
Moza Mohamed on 19 Sep 2021
Answered: Harikrishnan Balachandran Nair on 22 Sep 2021 at 5:32
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 ?

Answers (1)

Harikrishnan Balachandran Nair
Harikrishnan Balachandran Nair on 22 Sep 2021 at 5:32
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