Escolar Documentos
Profissional Documentos
Cultura Documentos
Filter
Project Explanation
What is Noise?
In signal processing, noise is a general term for unwanted modifications that a signal may suffer
during capture, storage, transmission, processing, or conversion. Sometimes the word is also
used to mean signals that are random and carry no useful information; even if they are not
interfering with other signals or may have been introduced intentionally, as in comfort noise.
Noise is any disturbance that interferes with data transmission and corrupts the quality of
the signal.
Add signals
function pushbutton3_Callback(hObject, eventdata, handles)
nfilt=fir1(11,0.4); % Eleventh order lowpass filter
fnoise=filter(nfilt,1,handles.noise1); % Correlated noise data
handles.d=handles.signal1+fnoise;
guidata(hObject, handles);
Filter Signals
function pushbutton4_Callback(hObject, eventdata, handles)
mu = 0.0001; % Set the step size for algorithm updating.
ha = adaptfilt.sd(42,mu);
[handles.y,handles.e] = filter(ha,handles.signal1,handles.d);
guidata(hObject, handles);
Plot signal
function pushbutton5_Callback(hObject, eventdata, handles)
figure
plot(handles.signal1);
title('Signal')
Plot noise
function pushbutton6_Callback(hObject, eventdata, handles)
figure
plot(handles.noise1);
title('Noise')
Plot mixed signal
function pushbutton7_Callback(hObject, eventdata, handles)
figure
plot(handles.d);
title('Mixed Signal')
Play signal
function pushbutton10_Callback(hObject, eventdata, handles)
wavplay(handles.signal1);
guidata(hObject, handles);
Play noise
function pushbutton11_Callback(hObject, eventdata, handles)
wavplay(handles.noise1);
guidata(hObject, handles);