Académique Documents
Professionnel Documents
Culture Documents
Faculté de TECHNOLOGIE
Département de Génie Electrique et Electronique (GEE)
Filière : Licence ELECTRONIQUE
Niveau : L3ELN_S5
Matière : TP NS543 (TP Traitement de signal)
TP N°03
Effectué par:
• AYAD Abdelhak S/Groupe : G11
Enseignant : Mr Brixi
1
1- Serie de Fourier :
Selon le théorème de Fourier, toute fonction périodique de fréquence 𝑤0 peut être
exprimée en une somme infinie de fonctions sinus ou cosinus qui sont des multiples
de 𝑤0. Donc une fonction donnée f(t) peut-être représentée par :
1 𝑇
𝑎0= ∫0 f(t)dt
𝑇
2 𝑇
𝑎1= ∫0 f(t)cos𝑛𝑤0𝑡 dt
𝑇
2 𝑇
b1= ∫0 f(t)sin𝑛𝑤0𝑡 dt
𝑇
2
La fonction Définition sur matlab
syms Short-cut for constructing symbolic variables.
syms arg1 arg2 ...
is short-hand notation for creating symbolic variables
arg1 = sym('arg1');
arg2 = sym('arg2'); ...
heaviside heaviside Step function.
heaviside(X) is 0 for X < 0, 1 for X > 0, and .5 for X == 0.
heaviside(X) is not a function in the strict sense.
for for Repeat statements a specific number of times.
The general form of a for statement is:
3
4
5
La fonction Définition sur matlab
close close Close figure.
close(H) closes the window with handle H.
close, by itself, closes the current figure window.
3- Transformée de Fourier:
7
La fonction Définition sur matlab
int int Integrate
int Integrate
int(S) is the indefinite integral of S with respect to its symbolic
variable as defined by SYMVAR. S is a SYM (matrix or
scalar).
8
If S is a constant, the integral is with respect to 'x'.
real real Complex real part.
real(X) is the real part of X.
See I or J to enter complex numbers.
imag imag Complex imaginary part.
imag(X) is the imaginary part of X.
See I or J to enter complex numbers.
abs abs Absolute value.
abs(X) is the absolute value of the elements of X. When
X is complex, abs(X) is the complex modulus (magnitude) of
the elements of X.
Methode 1 :
9
La fonction Définition sur matlab
rectangularPulse rectangularPulse Rectangular pulse function.
Y = rectangularPulse(X) is the rectangular pulse
over the interval from -1/2 to 1/2.
10
default independent variable x. The default return is a
function of w.
Methode 2 :
La transformée de Fourier discrète d’un signal sous matlab peut être calculée en
utilisant l’algorithme de tranformation rapide avec la fonction « FFT » sous Matlab.
11
12
La fonction Définition sur matlab
randn randn Normally distributed pseudorandom numbers.
R = randn(N) returns an N-by-N matrix containing
pseudorandom values drawn
from the standard normal distribution. randn(M,N) or
randn([M,N]) returns
an M-by-N matrix. randn(M,N,P,...) or randn([M,N,P,...])
returns an
13
M-by-N-by-P-by-... array. randn returns a scalar.
randn(SIZE(A)) returns
an array the same size as A.
14
5- Conclusion:
15