Ploting s-parameters of inductors in Matlab?

Status
Not open for further replies.

Meklaud

Newbie level 6
Joined
Apr 19, 2005
Messages
14
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,379
I have done a code for modeling a square-shaped inductor in Matlab(it has been done using a possibility of interaction between Matlab and FEMLAB),and now I would like to make a plot for s-parameters of inductor because I need them for calculating Q-factor and selfinductance.

How to do this?
 

You need to have S params as a function of frequency and then you do a polar plot.
Is your question: How to model the params using matlab?

brmadhukar
 

I do have a S(f) calculated and now I made a x-y coordinate system using this code
subplot(2,2,1);
semilogx(f,real(S11));
xlabel('Frequency');
ylabel('Real(S11)');
title('Real(S11) = Real(S22)');
grid;

As a figure I get empty drawing so i'm interested how to plot the line for the S that i have calculated.What is the command to plot the curve S(f)?
 

Problem is that I get plots,but they are empty plots ,I have no function ploted and that's what bothers me.
Did i make some mistake?
 

Meklaud said:
Problem is that I get plots,but they are empty plots ,I have no function ploted and that's what bothers me.
Did i make some mistake?

Can't tell more until you post your s-parameters file here.
Are you really ploting only magnitude?

Also you may try function "smithchart" from RF toolbox
 

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