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

📄 lpcexpo.m

📁 非常好的数字处理教程
💻 M
📖 第 1 页 / 共 2 页
字号:
% 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 analwindowshape.function analwindowshape_Callback(hObject, eventdata, handles)% hObject    handle to analwindowshape (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 analwindowshape contents as cell array%        contents{get(hObject,'Value')} returns selected item from analwindowshape% --- Executes on button press in analyze.function analyze_Callback(hObject, eventdata, handles)	lpcexpofn 'analyze';% --- Executes during object creation, after setting all properties.function excite_menu_CreateFcn(hObject, eventdata, handles)% hObject    handle to excite_menu (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 excite_menu.function excite_menu_Callback(hObject, eventdata, handles)% hObject    handle to excite_menu (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 excite_menu contents as cell array%        contents{get(hObject,'Value')} returns selected item from excite_menu	contents = get(hObject,'String');	switch lower(contents{get(hObject,'Value')})		case {'residual','noise','other'}			set(handles.excite_text,'Visible','off');            set(handles.excite_freq,'Visible','off');		case 'pulses'			set(handles.excite_text,'Visible','on');            set(handles.excite_freq,'Visible','on');	end% --------------------------------------------------------------------function saveresynth_Callback(hObject, eventdata, handles)% hObject    handle to saveresynth (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)	lpcexpofn 'saveresynth';% --- Executes during object creation, after setting all properties.function synthwindowsize_CreateFcn(hObject, eventdata, handles)% hObject    handle to synthwindowsize (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 synthwindowsize_Callback(hObject, eventdata, handles)% hObject    handle to synthwindowsize (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 synthwindowsize as text%        str2double(get(hObject,'String')) returns contents of synthwindowsize as a double	lpcexpofn 'colacheck';% --- Executes during object creation, after setting all properties.function synthwindowskip_CreateFcn(hObject, eventdata, handles)% hObject    handle to synthwindowskip (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 synthwindowskip_Callback(hObject, eventdata, handles)% hObject    handle to synthwindowskip (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 synthwindowskip as text%        str2double(get(hObject,'String')) returns contents of synthwindowskip as a doublefunction cola_CreateFcn(hObject, eventdata, handles)% --- Executes during object creation, after setting all properties.function analcola_CreateFcn(hObject, eventdata, handles)% hObject    handle to synthcola (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    empty - handles not created until after all CreateFcns called% --- Executes during object creation, after setting all properties.function synthcola_CreateFcn(hObject, eventdata, handles)% hObject    handle to synthcola (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    empty - handles not created until after all CreateFcns called% --- Executes on button press in synthcola.function synthcola_Callback(hObject, eventdata, handles)% hObject    handle to synthcola (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)% Hint: get(hObject,'Value') returns toggle state of synthcola	lpcexpofn 'colacheck';% --- Executes during object creation, after setting all properties.function analwindowskip_CreateFcn(hObject, eventdata, handles)% hObject    handle to analwindowskip (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 analwindowskip_Callback(hObject, eventdata, handles)% hObject    handle to analwindowskip (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 analwindowskip as text%        str2double(get(hObject,'String')) returns contents of analwindowskip as a double% --- Executes on button press in analcola.function analcola_Callback(hObject, eventdata, handles)% hObject    handle to analcola (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)% Hint: get(hObject,'Value') returns toggle state of analcola	lpcexpofn 'colacheck';% --------------------------------------------------------------------function help_Callback(hObject, eventdata, handles)% hObject    handle to help (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)     lpcexpofn 'help';% --- 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)	lpcexpofn 'normalize';% --- Executes on button press in play_resplot.function play_residual_Callback(hObject, eventdata, handles)% hObject    handle to play_resplot (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)	lpcexpofn 'play_residual';% --- Executes on button press in norm_resplot.function norm_residual_Callback(hObject, eventdata, handles)% hObject    handle to norm_resplot (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)	lpcexpofn 'norm_residual';% --- Executes during object creation, after setting all properties.function order_CreateFcn(hObject, eventdata, handles)% hObject    handle to order (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 order_Callback(hObject, eventdata, handles)% hObject    handle to order (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 order as text%        str2double(get(hObject,'String')) returns contents of order as a double% --- Executes during object creation, after setting all properties.function excite_freq_CreateFcn(hObject, eventdata, handles)% hObject    handle to excite_freq (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 excite_freq_Callback(hObject, eventdata, handles)% hObject    handle to excite_freq (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 excite_freq as text%        str2double(get(hObject,'String')) returns contents of excite_freq as a double

⌨️ 快捷键说明

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