From Network analyzer to Matlab

Status
Not open for further replies.

derndinn

Junior Member level 1
Joined
Nov 12, 2013
Messages
16
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Visit site
Activity points
107
I've gotten some data that are real number and imaginary number from Network analyzer. I measured S11 , Smith Chart, SWR.

now i can only plot S11 by Matlab . I don't know how to plot the others,so What are way that i should follow? Thank you.
 

it doesn't makes sense that you measured "Smith Chart", Smith chart is only another representation of your S11 parameter data so u can plot S11 vs freq in a normal graph or you can plot the same on smith chart only representation is different, data i.e impedance at particular frequency will remain the same.
could you be more elaborate how did you actually plotted S11 in Matlab???
 

i tried to plot Smith chart in the same way as S11 but i still got the result as S11.

I've followed this eq. : 10log[sqrt((real^2)+(Im^2))] for S11.
 

Smith chart on a NA shows the input impedance w.r.t frequency. If you want to plot it on matlab, first find Zin from S11 (it will be an array of complex numbers). Then use plotsmithchart function to plot it. You will get exactly the same figure as you were getting on NA.

If you don't have plotsmithchart.m, download it from here
https://www.mathworks.com/matlabcentral/fileexchange/1923-smith-chart-plot
 

Thank you so much. It is very useful. I am going to try it .
 

Do you know what value you have (Impedance or S11 - each of them are complex values)?
To use the plotsmithchart.m you need the impedance values, if you have the S11 you need to calculate the impedance from the (complex and without dB) S11.

With the formula you mentioned - 10log[sqrt((real^2)+(Im^2))] - you can calculate the logarithm of the magnitude of S11. This represents the reflection coefficient which is the length in the smith chart.
For the angle you need another calculation.
The plotsmithchart.m will do the calculations for you.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…