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

📄 stochogui.m

📁 非常好的数字处理教程
💻 M
📖 第 1 页 / 共 5 页
字号:
% 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 s2_partials_Callback(hObject, eventdata, handles)% hObject    handle to s2_partials (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 s2_partials as text%        str2double(get(hObject,'String')) returns contents of s2_partials as a double% --- Executes during object creation, after setting all properties.function s2_start_CreateFcn(hObject, eventdata, handles)% hObject    handle to s2_start (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 s2_start_Callback(hObject, eventdata, handles)% hObject    handle to s2_start (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 s2_start as text%        str2double(get(hObject,'String')) returns contents of s2_start as a double% --- Executes during object creation, after setting all properties.function s3_numnotes_CreateFcn(hObject, eventdata, handles)% hObject    handle to s3_numnotes (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 s3_numnotes_Callback(hObject, eventdata, handles)% hObject    handle to s3_numnotes (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 s3_numnotes as text%        str2double(get(hObject,'String')) returns contents of s3_numnotes as a double% --- Executes during object creation, after setting all properties.function s3_npartials_CreateFcn(hObject, eventdata, handles)% hObject    handle to s3_npartials (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 s3_npartials_Callback(hObject, eventdata, handles)% hObject    handle to s3_npartials (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 s3_npartials as text%        str2double(get(hObject,'String')) returns contents of s3_npartials as a double% --- Executes during object creation, after setting all properties.function s3_durs_CreateFcn(hObject, eventdata, handles)% hObject    handle to s3_durs (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 s3_durs_Callback(hObject, eventdata, handles)% hObject    handle to s3_durs (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 s3_durs as text%        str2double(get(hObject,'String')) returns contents of s3_durs as a double% --- Executes during object creation, after setting all properties.function s3_amps_CreateFcn(hObject, eventdata, handles)% hObject    handle to s3_amps (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 s3_amps_Callback(hObject, eventdata, handles)% hObject    handle to s3_amps (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 s3_amps as text%        str2double(get(hObject,'String')) returns contents of s3_amps as a double% --- Executes during object creation, after setting all properties.function s3_freqs_CreateFcn(hObject, eventdata, handles)% hObject    handle to s3_freqs (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 s3_freqs_Callback(hObject, eventdata, handles)% hObject    handle to s3_freqs (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 s3_freqs as text%        str2double(get(hObject,'String')) returns contents of s3_freqs as a double% --- Executes during object creation, after setting all properties.function s3_fskews_CreateFcn(hObject, eventdata, handles)% hObject    handle to s3_fskews (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 s3_fskews_Callback(hObject, eventdata, handles)% hObject    handle to s3_fskews (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 s3_fskews as text%        str2double(get(hObject,'String')) returns contents of s3_fskews as a double% --- Executes during object creation, after setting all properties.function s3_ampenv_CreateFcn(hObject, eventdata, handles)% hObject    handle to s3_ampenv (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 s3_ampenv.function s3_ampenv_Callback(hObject, eventdata, handles)% hObject    handle to s3_ampenv (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 s3_ampenv contents as cell array%        contents{get(hObject,'Value')} returns selected item from s3_ampenv% --- Executes during object creation, after setting all properties.function s3_freqenv_CreateFcn(hObject, eventdata, handles)% hObject    handle to s3_freqenv (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 s3_freqenv.function s3_freqenv_Callback(hObject, eventdata, handles)% hObject    handle to s3_freqenv (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 s3_freqenv contents as cell array%        contents{get(hObject,'Value')} returns selected item from s3_freqenv% --- Executes during object creation, after setting all properties.function s3_overlap_CreateFcn(hObject, eventdata, handles)% hObject    handle to s3_overlap (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 s3_overlap_Callback(hObject, eventdata, handles)% hObject    handle to s3_overlap (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 s3_overlap as text%        str2double(get(hObject,'String')) returns contents of s3_overlap as a double% --- Executes during object creation, after setting all properties.function s3_partials_CreateFcn(hObject, eventdata, handles)% hObject    handle to s3_partials (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 s3_partials_Callback(hObject, eventdata, handles)% hObject    handle to s3_partials (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 s3_partials as text%        str2double(get(hObject,'String')) returns contents of s3_partials as a double% --- Executes during object creation, after setting all properties.function s3_start_CreateFcn(hObject, eventdata, handles)% hObject    handle to s3_start (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 s3_start_Callback(hObject, eventdata, handles)% hObject    handle to s3_start (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 s3_start as text%        str2double(get(hObject,'String')) returns contents of s3_start as a double% --- Executes on button press in load.function load_Callback(hObject, eventdata, handles)% hObject    handle to load (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)% --------------------------------------------------------------------function File_Callback(hObject, eventdata, handles)% hObject    handle to File (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)% --- Executes on button press in s1_mix.function s1_mix_Callback(hObject, eventdata, handles)% hObject    handle to s1_mix (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 s1_mix% --- Executes on button press in s2_mix.function s2_mix_Callback(hObject, eventdata, handles)% hObject    handle to s2_mix (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 s2_mix% --- Executes on button press in s3_mix.function s3_mix_Callback(hObject, eventdata, handles)% hObject    handle to s3_mix (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 s3_mix% --- Executes during object creation, after setting all properties.function s1_vol_CreateFcn(hObject, eventdata, handles)% hObject    handle to s1_vol (see GCBO)

⌨️ 快捷键说明

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