Skip to content
Snippets Groups Projects
Commit bab8a442 authored by PERBEN Anatole's avatar PERBEN Anatole
Browse files

Upload New File

parent 12dc2f7b
No related branches found
No related tags found
No related merge requests found
% Charger les données
load("signal_excitation.mat"); % xe1, xe2, fe sont chargés
% Autocorrélation (centrée)
rxe1 = xcorr(xe1, 'biased');
rxe2 = xcorr(xe2, 'biased');
% Axe des lags
lags1 = -length(xe1)+1:length(xe1)-1;
lags2 = -length(xe2)+1:length(xe2)-1;
% Affichage
subplot(2,1,1);
plot(lags1, rxe1);
title('Autocorrélation de xe1');
xlabel('Décalage');
ylabel('Amplitude');
subplot(2,1,2);
plot(lags2, rxe2);
title('Autocorrélation de xe2');
xlabel('Décalage');
ylabel('Amplitude');
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment