From 2d0bda8b7a8ec812080dc8c863e5d7cd1381d75b Mon Sep 17 00:00:00 2001 From: "flyingscorpio@arch-desktop" Date: Wed, 5 Jan 2022 23:01:08 +0100 Subject: [PATCH] Remove useless comments --- theorie-signal/exercices/tp1.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/theorie-signal/exercices/tp1.m b/theorie-signal/exercices/tp1.m index 8165fef..12ed575 100644 --- a/theorie-signal/exercices/tp1.m +++ b/theorie-signal/exercices/tp1.m @@ -6,7 +6,7 @@ fe = 50*N*f0; Tps = [0 :1/fe: 1-1/fe]; a0 = 1/2; an = (2/(n*n*pi*pi))(-cos(n*pi) + 1) -x = a0 * ones(1,length(Tps)); % a0 est a remplacer par la valeur calculee +x = a0 * ones(1,length(Tps)); for n = 1:N x = x + a0 + an*cos(n*2*pi*f0*Tps); end @@ -34,7 +34,7 @@ fe = 50*N*f0; Tps = [0 :1/fe: 1-1/fe]; a0 = r; an = 2* (sin(n*pi*r))/(n*pi); -x = a0 * ones(1,length(Tps)); % a0 est a remplacer par la valeur calculee +x = a0 * ones(1,length(Tps)); for n = 1:N x = x + a0 + an*cos(n*2*pi*f0*Tps)+; end