Plotting S parameters in Matlab
Hi. So I’m trying to plot S parameters of a system. I need to plot S11 and S21 and have equations for both (derived from network synthesis data). Now my question is:
1) should I use
sparameters(S11,f)
command if the equation for S11 that I have in the code already defines it as S parameter?
S11(1,x)=1+2*i*Rs*inv(A(1,1));
A changes with frequency, and my code is designed such that every value of A(1,1) yeilds a different S11 parameter and that is stored in location (1,x) with x increasing with each cycle (x=x+1).
2) I’m not getting the right curve with or without using the sparameters command. Also rfplot and plot yield the same incorrect curve. Should S11 be in dB?Hi. So I’m trying to plot S parameters of a system. I need to plot S11 and S21 and have equations for both (derived from network synthesis data). Now my question is:
1) should I use
sparameters(S11,f)
command if the equation for S11 that I have in the code already defines it as S parameter?
S11(1,x)=1+2*i*Rs*inv(A(1,1));
A changes with frequency, and my code is designed such that every value of A(1,1) yeilds a different S11 parameter and that is stored in location (1,x) with x increasing with each cycle (x=x+1).
2) I’m not getting the right curve with or without using the sparameters command. Also rfplot and plot yield the same incorrect curve. Should S11 be in dB? Hi. So I’m trying to plot S parameters of a system. I need to plot S11 and S21 and have equations for both (derived from network synthesis data). Now my question is:
1) should I use
sparameters(S11,f)
command if the equation for S11 that I have in the code already defines it as S parameter?
S11(1,x)=1+2*i*Rs*inv(A(1,1));
A changes with frequency, and my code is designed such that every value of A(1,1) yeilds a different S11 parameter and that is stored in location (1,x) with x increasing with each cycle (x=x+1).
2) I’m not getting the right curve with or without using the sparameters command. Also rfplot and plot yield the same incorrect curve. Should S11 be in dB? s parameters, s11, s-parameter MATLAB Answers — New Questions