Remove useless comments
This commit is contained in:
parent
d0924fd02c
commit
2d0bda8b7a
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue