Embed presentation
Downloaded 32 times
![ Experiment 10
Name: Shyamveer Singh
Regno: 11205816
Rollno: B54
Aim: To detect the original signal from the noisy signal.
Input: Noisy signal
Output: Noise free signal
function[z]=shyamsignal()
t=0:1/1000:1;
x=sin(2*pi*5*t)+sin(2*pi*10*t)+sin(2*pi*20*t)+sin(2*pi*50*
t);
y=awgn(x,5);
subplot(2,2,1)
plot(t,x)
subplot(2,2,2)
plot(t,y)
h=fir1(200,0.1)
z=conv(h,y)
subplot(2,2,3)
plot(z)
end](https://image.slidesharecdn.com/11205816139223b-54-150424063955-conversion-gate02/75/Noise-detection-from-the-signal-matlab-code-Signal-Diagnosis-1-2048.jpg)
![function[z]=shyamsignal
x=wavread('C:Documents and
SettingsuserDesktop/sound1.wav');
x=x(300:400);
%x=sin(2*pi*5*t)+sin(2*pi*10*t)+sin(2*pi*20*t)+sin(2*pi*50
*t);
y=awgn(x,5);
subplot(3,3,1)
plot(x)
subplot(3,3,2)
plot(y)
h=fir1(210,.7)
z=conv(y,h,'same')
subplot(3,3,3)
plot(z)
y1=abs(fft(x))
subplot(3,3,4)
plot(y1)
y2=abs(fft(y))
subplot(3,3,5)
plot(y2)
y3=abs(fft(z))
subplot(3,3,6)
plot(y3)
end](https://image.slidesharecdn.com/11205816139223b-54-150424063955-conversion-gate02/75/Noise-detection-from-the-signal-matlab-code-Signal-Diagnosis-2-2048.jpg)


This document describes Experiment 10 conducted by Shyamveer Singh. The aim of the experiment was to detect the original signal from a noisy signal. The input was a noisy signal and the output was the noise-free signal. The experiment involved generating a noisy signal by adding noise to an original signal, plotting the original and noisy signals, applying a filter to remove noise from the noisy signal, and plotting the filtered signal. Fourier transforms were also applied to analyze the signals in the frequency domain.
![ Experiment 10
Name: Shyamveer Singh
Regno: 11205816
Rollno: B54
Aim: To detect the original signal from the noisy signal.
Input: Noisy signal
Output: Noise free signal
function[z]=shyamsignal()
t=0:1/1000:1;
x=sin(2*pi*5*t)+sin(2*pi*10*t)+sin(2*pi*20*t)+sin(2*pi*50*
t);
y=awgn(x,5);
subplot(2,2,1)
plot(t,x)
subplot(2,2,2)
plot(t,y)
h=fir1(200,0.1)
z=conv(h,y)
subplot(2,2,3)
plot(z)
end](https://image.slidesharecdn.com/11205816139223b-54-150424063955-conversion-gate02/75/Noise-detection-from-the-signal-matlab-code-Signal-Diagnosis-1-2048.jpg)
![function[z]=shyamsignal
x=wavread('C:Documents and
SettingsuserDesktop/sound1.wav');
x=x(300:400);
%x=sin(2*pi*5*t)+sin(2*pi*10*t)+sin(2*pi*20*t)+sin(2*pi*50
*t);
y=awgn(x,5);
subplot(3,3,1)
plot(x)
subplot(3,3,2)
plot(y)
h=fir1(210,.7)
z=conv(y,h,'same')
subplot(3,3,3)
plot(z)
y1=abs(fft(x))
subplot(3,3,4)
plot(y1)
y2=abs(fft(y))
subplot(3,3,5)
plot(y2)
y3=abs(fft(z))
subplot(3,3,6)
plot(y3)
end](https://image.slidesharecdn.com/11205816139223b-54-150424063955-conversion-gate02/75/Noise-detection-from-the-signal-matlab-code-Signal-Diagnosis-2-2048.jpg)
