Skip to content
Snippets Groups Projects
Commit 95da573d authored by YE Victor's avatar YE Victor
Browse files

Upload New File

parent eb986938
No related branches found
No related tags found
No related merge requests found
% réponse impulsionnelle du filtre à delay
clear; clc;
% Paramètres du filtre
tau = 100;
g = 0.6;
N = 1000;
% Vecteurs a et b
a = [1, zeros(1, tau - 1), g];
b = 1;
% Signal d’entrée : une impulsion
x = zeros(1, N);
x(1) = 1;
% Calcul de la réponse impulsionnelle h(k)
h = filter(b, a, x)
% Affichage
stem(0:N-1, h, 'filled');
xlabel('k (échantillons)');
ylabel('h(k)');
title('Réponse impulsionnelle h(k) du filtre à delay');
grid on;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment