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

Upload New File

parent e0a835a7
No related branches found
No related tags found
No related merge requests found
function y = effet_delay(x, t_delay, g, Fe)
% Convertir le temps de delay en nombre d’échantillons
tau = round(t_delay * Fe);
% Définition des coefficients du filtre
b = 1;
a = [1, zeros(1, tau - 1), g];
% Application du filtre
y = filter(b, a, x);
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment