I want to know the attenuation constant of a microstrip line. And I measured s11, s21, s22.
Can I draw attenuation of the line by subtracting both mismatch losses at the port and the load from s21 as shown below?
Mismatch loss at the port: sm1=10*log10((1-10.^(s11(:,2)./10)))
Mismatch loss at the load: sm2=10*log10((1-10.^(s22(:,2)./10)))
attenuation=s21-sm1-sm2
attenuation constant=ling length*attenuation