double stub matching using smith chart matlab code
25 views (last 30 days)
Show older comments
A 75 ohm air filled coaxial line is terminated with a complex load of 109.5-j120 ohms. Design a double stub matching system using short coaxial lines of characteristics impedance 75 ohm.
0 Comments
Answers (1)
Muhammad
on 6 Dec 2022
Edited: Muhammad
on 6 Dec 2022
%% *DOUBLE STUB MATCHING ON TRANSMISSION LINE*
g = real(YL_t);
b = imag(YL_t);
ld = 0:lambda/100:lambda/2;
b2 = (cos(beta*ld)/sin(beta*ld)) + (1/(g^1/2)*sin(beta*ld)) - 1;
b1 = (b2.*b2.*sin(beta*ld).*cos(beta*ld) - b2.*((cos(beta*ld).*cos(beta*ld))-((sin(beta*ld)).*(sin(beta*ld)))) - (b./g))/1 - 2.*b2.*sin(beta*l).*cos(beta*l)+(b2.*sin(beta*ld).*b2.*sin(beta*ld));
%Part1:legth of stub2
if (b1<=0)
lb = (atan(-1./b1))/2*pi
else
lb = (pi*atan(-1./b1))/2*pi
end
%Part2:length of stub1
if (b2<=0)
la = (atan(-1./b2))/2*pi
else
la = (pi+atan(-1./b2))/2*pi
end
0 Comments
See Also
Categories
Find more on Electrical Block Libraries in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!