Académique Documents
Professionnel Documents
Culture Documents
TP 1
Programme :
clc;clear all;close all
z0=50;
zl=100;
v0=4
d=0:0.01:2;
rl=(zl-z0)/(zl+z0);
b=4*pi*d;
n=2*pi*d;
ol=angle(rl);
h=v0*(sqrt(1+(abs(rl)^2)+(2*(abs(rl))*(cos(ol-b)))));
subplot 121
plot(d,h)
g=v0*(exp(n))+v0*(exp(-n))
subplot 122
plot(d,g)
Hadi
-programme :
clc;clear all;close all
z0=50;
zl=100;
v0=4
d=0:0.001:10;
rl=(zl-z0)/(zl+z0);
b=4*pi*d;
n=2*pi*d;
ol=angle(rl);
h=v0*(sqrt(1+(abs(rl)^2)+(2*(abs(rl))*(cos(ol-b)))));
subplot 121
semilogx(d,h)
g=v0*(exp(n))+v0*(exp(-n))
subplot 122
semilogx(d,g)
Haw rassm
kifah ykhroj
Tp nemero 2
clear all;
close all;
d=0:0.01:2;
z0=50;
zl=100;
bita=2*pi*d;
Zin=z0*((zl+j*z0*tan(bita))./(z0+j*zl*tan(bita)));
h=imag(Zin/z0);
subplot 131
plot(d,h)
xlabel('prtie reel')
ylabel('prtie imginaire')
title('imarg h')
clear all;
close all;
d=0:0.01:2;
z0=50;
zl=100;
bita=2*pi*d;
Zin=z0*((zl+j*z0*tan(bita))./(z0+j*zl*tan(bita)));
h=imag(Zin/z0);
subplot 131
plot(d,h)
xlabel('prtie reel')
ylabel('prtie imginaire')
title('imarg h')
%%%%%%%%%%%%%%%%%%%%%%%%%
zl = 0; % short circuit
beta = 2*pi*d;
h = imag(Zin / z0);
subplot 132
plot(d, h)
axis([0 1.25 -5 5])
xlabel('partie réelle')
ylabel('partie imaginaire')
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
bita=2*pi*d;
h=imag(Zin/z0);
subplot 133
plot(d,h)
xlabel('prtie reel')
ylabel('prtie imginaire')
title('imarg h pour un circuit ouvert')
Sqrt : jidre
^ : ouss
Exp : oussiya