two-section impedance transformer
L12 = twosect(Z0,Z1,Z2,ZL)
line, section, and load impedances
2x2 matrix, where each row is a solution. L1,L2 are the electrical lengths of the two sections
twosect(Z0,Z1,Z2,ZL) designs two-section impedance transformer. Z0,Z1,Z2 must be real-valued, ZL can be complex-valued. can be used for antireflection coating design: given the refractive indices na,n1,n2,nb, compute L12 = twosect(1/na, 1/n1, 1/n2, 1/nb). a solution may not exist. L12 = twosect(Z0,Z1,Z0,R), has a solution for all real loads R in the range (Z0/S^2, Z0*S^2), where S = max(Z0,Z1)/min(Z0,Z1)
------------------====L1====----L2----------|
main line Z0----------Z1--------Z2----------ZL
-----------------==========-----------------|
add sample pgm