Trend of the Impedance Z as L Varies: a Tool Built in MATLAB
A tool built in MATLAB that determines the trend of the magnitude of the impedance Z of a transmission line with and without losses clear all whitebg; clc disp('IMPEDENZA DI LINEA'); disp(' '); Zc=input('Assegna…
https://www.electronics-engineering.com/en/trend-of-the-impedance-z-as-l-varies-a-tool-built-in-matlab/
A tool built in MATLAB that determines the trend of the magnitude of the impedance Z of a transmission line with and without losses
clear all
whitebg;
clc
disp('IMPEDENZA DI LINEA');
disp(' ');
Zc=input('Assegna il valore dell''impedenza caratteristica (in ohm): ');
Zl=input('Assegna il valore dell''impedenza di carico (in ohm): ');
alfa=input('Assegna il valore di alfa, che indica le perdite (in dB/m):');
z=Zl/Zc;
alfa1=alfa/8.686;
roz=(z-1)/(z+1);
A=angle(roz);
B=abs(roz);
L=0:0.001:3;
uno=exp(0.*L);
ROZ=B*exp(-4*i*pi*L).*exp(-2*alfa1*L);
C=angle(ROZ);
D=abs(ROZ);
Q=A.*uno+C;
x=D.*cos(Q);
y=D.*sin(Q);
rozNUOVO=x+i*y;
zf=((uno+rozNUOVO)./(uno-rozNUOVO));
Z=Zc*zf;
hold on
plot(L,real(Z),'b')
plot(L,imag(Z),'r')
xlabel('ANDAMENTO DI Z AL VARIARE DI L sulla carta di Smith')
zoom onLOSSLESS LINE IMPEDANCE
Enter the value of the characteristic impedance (in ohm): 30
Enter the value of the load impedance (in ohm): 150-650i
Enter the value of alpha, which indicates the losses (in dB/m): 0

LINE IMPEDANCE WITH LOSSES
Enter the value of the characteristic impedance (in ohm): 30
Enter the value of the load impedance (in ohm): 150-650i
Enter the value of alpha, which indicates the losses (in dB/m): 0.5







Sono l'autore di questa pagina su «Andamento dell’Impedenza Z al Variare di L. Tool Realizzato in MATLAB». Se qualcosa non è chiaro, se vi serve un esempio in più o volete approfondire un punto, scrivetelo qui sotto nei commenti: rispondo personalmente. Se la pagina vi è stata utile, lasciate un voto con le stelle in cima all'articolo.