⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 denoise.m

📁 非常好的数字处理教程
💻 M
📖 第 1 页 / 共 2 页
字号:
function zoomreset_Callback(hObject, eventdata, handles)% hObject    handle to zoomreset (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)    denoisefn 'zoomreset';% --------------------------------------------------------------------function feature_Callback(hObject, eventdata, handles)% hObject    handle to feature (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)    denoisefn 'feature';% --- Executes on button press in normalize.function normalize_Callback(hObject, eventdata, handles)% hObject    handle to normalize (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)	denoisefn 'normalize';% --------------------------------------------------------------------function firexpo_Callback(hObject, eventdata, handles)% hObject    handle to firexpo (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)	denoisefn 'firexpo';% --------------------------------------------------------------------function iirexpo_Callback(hObject, eventdata, handles)% hObject    handle to iirexpo (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)	denoisefn 'iirexpo';% --------------------------------------------------------------------function formantexpo_Callback(hObject, eventdata, handles)% hObject    handle to formantexpo (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)	denoisefn 'formantexpo';% --------------------------------------------------------------------function lpcexpo_Callback(hObject, eventdata, handles)% hObject    handle to lpcexpo (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)	denoisefn 'lpcexpo';% --- Executes when denoise_fig window is resized.function denoise_fig_ResizeFcn(hObject, eventdata, handles)% hObject    handle to denoise_fig (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)    denoisefn 'resize';% --- Executes during object creation, after setting all properties.function filtermenu_CreateFcn(hObject, eventdata, handles)% hObject    handle to filtermenu (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    empty - handles not created until after all CreateFcns called% Hint: popupmenu controls usually have a white background on Windows.%       See ISPC and COMPUTER.if ispc    set(hObject,'BackgroundColor','white');else    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));end% --- Executes on selection change in filtermenu.function filtermenu_Callback(hObject, eventdata, handles)% hObject    handle to filtermenu (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)% Hints: contents = get(hObject,'String') returns filtermenu contents as cell array%        contents{get(hObject,'Value')} returns selected item from filtermenu% --- Executes during object creation, after setting all properties.function filterorder_CreateFcn(hObject, eventdata, handles)% hObject    handle to filterorder (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    empty - handles not created until after all CreateFcns called% Hint: edit controls usually have a white background on Windows.%       See ISPC and COMPUTER.if ispc    set(hObject,'BackgroundColor','white');else    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));endfunction filterorder_Callback(hObject, eventdata, handles)% hObject    handle to filterorder (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)% Hints: get(hObject,'String') returns contents of filterorder as text%        str2double(get(hObject,'String')) returns contents of filterorder as a double	order = str2double(get(hObject,'String'));	if order < 0		order = abs(order);	end	set(hObject,'String',num2str(order));% --- Executes on button press in doFilter.function doFilter_Callback(hObject, eventdata, handles)% hObject    handle to doFilter (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)	denoisefn 'doFilter';% --- Executes on button press in undoFilter.function undoFilter_Callback(hObject, eventdata, handles)% hObject    handle to undoFilter (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)	denoisefn 'undoFilter';% --- Executes on button press in doNoise.function doNoise_Callback(hObject, eventdata, handles)% hObject    handle to doNoise (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)	denoisefn 'doNoise';% --- Executes on button press in undoNoise.function undoNoise_Callback(hObject, eventdata, handles)% hObject    handle to undoNoise (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)	denoisefn 'undoNoise';% --- Executes during object creation, after setting all properties.function noiseAmplitude_CreateFcn(hObject, eventdata, handles)% hObject    handle to noiseAmplitude (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    empty - handles not created until after all CreateFcns called% Hint: edit controls usually have a white background on Windows.%       See ISPC and COMPUTER.if ispc    set(hObject,'BackgroundColor','white');else    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));endfunction noiseAmplitude_Callback(hObject, eventdata, handles)% hObject    handle to noiseAmplitude (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)% Hints: get(hObject,'String') returns contents of noiseAmplitude as text%        str2double(get(hObject,'String')) returns contents of noiseAmplitude as a double	amp = str2double(get(hObject,'String'));	if amp < 0		amp = abs(amp);	end	set(hObject,'String',num2str(amp));% --- Executes on button press in playoriginal.function playoriginal_Callback(hObject, eventdata, handles)% hObject    handle to playoriginal (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)	denoisefn 'playoriginal';% --- Executes during object creation, after setting all properties.function noisemenu_CreateFcn(hObject, eventdata, handles)% hObject    handle to noisemenu (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    empty - handles not created until after all CreateFcns called% Hint: popupmenu controls usually have a white background on Windows.%       See ISPC and COMPUTER.if ispc    set(hObject,'BackgroundColor','white');else    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));end% --- Executes on selection change in noisemenu.function noisemenu_Callback(hObject, eventdata, handles)% hObject    handle to noisemenu (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)% Hints: contents = get(hObject,'String') returns noisemenu contents as cell array%        contents{get(hObject,'Value')} returns selected item from noisemenu

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -