Vous êtes sur la page 1sur 1

%Agregar ruido a una se񡬍

t=-1:0.01:1;
f1=1.2*cos(4*pi*t);
f2=awgn(f1,5);
f3=awgn(f1,10);
f4=awgn(f1,20);
f5=awgn(f1,-5);
plot(t,f1)
figure;
subplot(3,1,1);
plot(t,f2);
subplot(3,1,2);
plot(t,f3);
subplot(3,1,3);
plot(t,f4);
figure;
plot(t,f5);

%practica

Vous aimerez peut-être aussi