Friday 4 November 2016

Create a sin wave and analyze the effect of adding noise to it.

// Create a sin wave and analyze the effect of adding noise to it.

subplot(3,1,1);
noisegen(.5,30,1);
x=-5:.01:35;
y=feval(x,Noise);
plot(x,y);

subplot(3,1,2);
//simple plot
B=5*sin(x);
plot(B);

subplot(3,1,3);
C=y.*B;
plot(C);

// Output
Create a sin wave and analyze the effect of adding noise to it.
                    Create a sin wave and analyze the effect of adding noise to it.

No comments:

Post a Comment