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.
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)?