📄 stocho.m
字号:
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)% eventdata reserved - to be defined in a future version of MATLAB% handles empty - handles not created until after all CreateFcns called% Hint: slider controls usually have a light gray background, change% 'usewhitebg' to 0 to use default. See ISPC and COMPUTER.usewhitebg = 1;if usewhitebg set(hObject,'BackgroundColor',[.9 .9 .9]);else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));end% --- Executes during object creation, after setting all properties.function s2_volslider_CreateFcn(hObject, eventdata, handles)% hObject handle to s2_volslider (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handles empty - handles not created until after all CreateFcns called% Hint: slider controls usually have a light gray background, change% 'usewhitebg' to 0 to use default. See ISPC and COMPUTER.usewhitebg = 1;if usewhitebg set(hObject,'BackgroundColor',[.9 .9 .9]);else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));end% --- Executes during object creation, after setting all properties.function s3_volslider_CreateFcn(hObject, eventdata, handles)% hObject handle to s3_volslider (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handles empty - handles not created until after all CreateFcns called% Hint: slider controls usually have a light gray background, change% 'usewhitebg' to 0 to use default. See ISPC and COMPUTER.usewhitebg = 1;if usewhitebg set(hObject,'BackgroundColor',[.9 .9 .9]);else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));end% --- Executes during object creation, after setting all properties.function s2_vol_CreateFcn(hObject, eventdata, handles)% hObject handle to s2_vol (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'));end% --- Executes during object creation, after setting all properties.function s3_vol_CreateFcn(hObject, eventdata, handles)% hObject handle to s3_vol (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'));end% --- Executes during object creation, after setting all properties.function s1_volslider_CreateFcn(hObject, eventdata, handles)% hObject handle to s1_volslider (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handles empty - handles not created until after all CreateFcns called% Hint: slider controls usually have a light gray background, change% 'usewhitebg' to 0 to use default. See ISPC and COMPUTER.usewhitebg = 1;if usewhitebg set(hObject,'BackgroundColor',[.9 .9 .9]);else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));end%% --- Executes during object creation, after setting all properties.%function s1_vol2_CreateFcn(hObject, eventdata, handles)%% hObject handle to s1_vol (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'));%end%%%%function s1_vol2_Callback(hObject, eventdata, handles)%% hObject handle to s1_vol (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 s1_vol as text%% str2double(get(hObject,'String')) returns contents of s1_vol as a double% --- Executes during object creation, after setting all properties.function s2_dist_CreateFcn(hObject, eventdata, handles)% hObject handle to s2_dist (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 s2_dist.function s2_dist_Callback(hObject, eventdata, handles)% hObject handle to s2_dist (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 s2_dist contents as cell array% contents{get(hObject,'Value')} returns selected item from s2_dist% --- Executes during object creation, after setting all properties.function s3_dist_CreateFcn(hObject, eventdata, handles)% hObject handle to s3_dist (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_dist.function s3_dist_Callback(hObject, eventdata, handles)% hObject handle to s3_dist (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_dist contents as cell array% contents{get(hObject,'Value')} returns selected item from s3_dist% --- Executes on button press in s3_random.function s3_random_Callback(hObject, eventdata, handles)% hObject handle to s3_random (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 s2_random.function s2_random_Callback(hObject, eventdata, handles)% hObject handle to s2_random (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA)% --------------------------------------------------------------------function close_Callback(hObject, eventdata, handles)% hObject handle to close (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA) stochofn 'close';% --------------------------------------------------------------------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) stochofn 'help'
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -