Professional Documents
Culture Documents
for n = 1:2:19
bn = 4/(n*%pi);
serie(i) = serie(i)+ an*cos(n*w0*t(i)) + bn*sin(n*w0*t(i));
end
end
for i=1:1:ct
for n = 1:2:19
bn = 4/(n*%pi);
serie(i) = serie(i)+ an*cos(n*w0*t(i)) + bn*sin(n*w0*t(i));
end
end
deltaW = 10;
Wmax 1e4;
N = 1000;
Ts = 1/20000;
for n = 1:1:cw
h = h + (1/C(n))*exp(%i*W(n)*ts);
end
saida = A.values;
h= real(h);
exec('C:\Users\aluno\Desktop\convolucap.sce')
yy = convulucao(saida, h);
t = 0:0.00005:0.4;
plot(t,yy)