亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? bysj2.m

?? 運用Matlab模擬波動光光學的實驗現象
?? M
字號:
%波動光學典型實驗的MATLAB仿真function varargout = bysj2(varargin)% BYSJ2 M-file for bysj2.fig%      BYSJ2, by itself, creates a new BYSJ2 or raises the existing%      singleton*.%%      H = BYSJ2 returns the handle to a new BYSJ2 or the handle to%      the existing singleton*.%%      BYSJ2('CALLBACK',hObject,eventData,handles,...) calls the local%      function named CALLBACK in BYSJ2.M with the given input arguments.%%      BYSJ2('Property','Value',...) creates a new BYSJ2 or raises the%      existing singleton*.  Starting from the left, property value pairs are%      applied to the GUI before bysj2_OpeningFcn gets called.  An%      unrecognized property name or invalid value makes property application%      stop.  All inputs are passed to bysj2_OpeningFcn via varargin.%%      *See GUI Options on GUIDE'sslit Tools menu.  Choose "GUI allows only%      one%      instance to run (singleton)".%% See also: GUIDE, GUIDATA, GUIHANDLES% Edit the above text to modify the response to help bysj2% Last Modified by GUIDE v2.5 01-Jun-2008 10:08:35% Begin initialization code - DO NOT EDITgui_Singleton = 1;gui_State = struct('gui_Name',       mfilename, ...                   'gui_Singleton',  gui_Singleton, ...                   'gui_OpeningFcn', @bysj2_OpeningFcn, ...                   'gui_OutputFcn',  @bysj2_OutputFcn, ...                   'gui_LayoutFcn',  [] , ...                   'gui_Callback',   []);if nargin && ischar(varargin{1})    gui_State.gui_Callback = str2func(varargin{1});endif nargout    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});else    gui_mainfcn(gui_State, varargin{:});end% End initialization code - DO NOT EDIT% --- Executes just before bysj2 is made visible.function bysj2_OpeningFcn(hObject, eventdata, handles, varargin)% This function has no output args, see OutputFcn.% hObject    handle to figure% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)% varargin   command line arguments to bysj2 (see VARARGIN)% Choose default command line output for bysj2handles.output = hObject;% Update handles structureguidata(hObject, handles);% UIWAIT makes bysj2 wait for user response (see UIRESUME)% uiwait(handles.figure1);slidervalue=get(handles.slider1,'value');set(handles.uipanel1,'userdata',slidervalue)set(handles.edit1,'string',slidervalue*100)a=get(handles.edit2,'value');set(handles.edit2,'string',a);b=get(handles.edit5,'value');set(handles.edit5,'string',b);circular_handle=findobj('tag','circular');set(circular_handle,'userdata',0.05)body1;% --- Outputs from this function are returned to the command line.function varargout = bysj2_OutputFcn(hObject, eventdata, handles) % varargout  cell array for returning output args (see VARARGOUT);% hObject    handle to figure% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)% Get default command line output from handles structurevarargout{1} = handles.output;% --- Executes when selected object is changed in uipanel1.function uipanel1_SelectionChangeFcn(hObject, eventdata, handles)% hObject    handle to the selected object in uipanel1 % eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)body;% --- Executes on slider movement.function slider1_Callback(hObject, eventdata, handles)% hObject    handle to slider1 (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,'Value') returns position of slider%        get(hObject,'Min') and get(hObject,'Max') to determine range of sliderslidervalue=get(hObject,'value');set(handles.uipanel1,'userdata',slidervalue)set(handles.edit1,'string',slidervalue*100)body1;% --- Executes during object creation, after setting all properties.function slider1_CreateFcn(hObject, eventdata, handles)% hObject    handle to slider1 (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.if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))    set(hObject,'BackgroundColor',[.9 .9 .9]);endfunction edit1_Callback(hObject, eventdata, handles)% hObject    handle to edit1 (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 edit1 as text%        str2double(get(hObject,'String')) returns contents of edit1 as a doublecurrent_str=get(hObject,'string');current_val=str2double(current_str)/100;if isnumeric(current_val)&length(current_val)==1&current_val>=get(handles.slider1,'Min')&current_val<=get(handles.slider1,'Max');%確認輸入為數字,且在波長范圍內    set(handles.slider1,'value',current_val);    set(handles.uipanel1,'userdata',current_val);    body1;else    msgbox('請輸入正確波長(380-770)','輸入錯誤','warn');end% --- Executes during object creation, after setting all properties.function edit1_CreateFcn(hObject, eventdata, handles)% hObject    handle to edit1 (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 && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))    set(hObject,'BackgroundColor','white');end% --- Executes when user attempts to close figure1.function figure1_CloseRequestFcn(hObject, eventdata, handles)% hObject    handle to figure1 (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)% Hint: delete(hObject) closes the figureselection=questdlg('關閉窗口?','確定關閉','Yes','No','Yes');switch selection    case 'Yes'        delete(gcf)    case'No'        returnend% --------------------------------------------------------------------function Untitled_1_Callback(hObject, eventdata, handles)% hObject    handle to Untitled_1 (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)function edit2_Callback(hObject, eventdata, handles)% hObject    handle to edit2 (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 edit2 as text%        str2double(get(hObject,'String')) returns contents of edit2 as a doublecurrent_str=get(hObject,'string');current_val=str2num(current_str);if isnumeric(current_val)&length(current_val)&current_val>0;%確認輸入為非零數字,且非空    set(hObject,'value',current_val);       body1;else    msgbox('請輸入正確半徑','輸入錯誤','warn');end% --- Executes during object creation, after setting all properties.function edit2_CreateFcn(hObject, eventdata, handles)% hObject    handle to edit2 (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 && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))    set(hObject,'BackgroundColor','white');end% --- Executes on button press in pushbutton2.function pushbutton2_Callback(hObject, eventdata, handles)% hObject    handle to pushbutton2 (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)body;% --- Executes on slider movement.function slider3_Callback(hObject, eventdata, handles)% hObject    handle to slider3 (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,'Value') returns position of slider%        get(hObject,'Min') and get(hObject,'Max') to determine range of sliderslidervalue=get(hObject,'value');set(handles.edit4,'string',slidervalue)body1;% --- Executes during object creation, after setting all properties.function slider3_CreateFcn(hObject, eventdata, handles)% hObject    handle to slider3 (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.if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))    set(hObject,'BackgroundColor',[.9 .9 .9]);end% --- Executes on selection change in popupmenu4.function popupmenu4_Callback(hObject, eventdata, handles)% hObject    handle to popupmenu4 (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 popupmenu4 contents as cell array%        contents{get(hObject,'Value')} returns selected item from popupmenu4hpop_val=get(hObject,'Value');circular_handle=findobj('tag','circular');        if hpop_val==1elseif hpop_val==2    set(circular_handle,'userdata',0.05)    body;elseif hpop_val==3    set(circular_handle,'userdata',0.1)    body;elseif hpop_val==4    set(circular_handle,'userdata',0.5)    body;end% --- Executes during object creation, after setting all properties.function popupmenu4_CreateFcn(hObject, eventdata, handles)% hObject    handle to popupmenu4 (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 && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))    set(hObject,'BackgroundColor','white');endfunction edit5_Callback(hObject, eventdata, handles)% hObject    handle to edit5 (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 edit5 as text%        str2double(get(hObject,'String')) returns contents of edit5 as a doublestr=get(hObject,'string');val=str2num(str);if isnumeric(val)&length(val)&all(val)==1&round(val)==val;%確認輸入正確,且非空    set(hObject,'value',val);    body1;else    msgbox('請輸入正確倍數','輸入錯誤','warn');end% --- Executes during object creation, after setting all properties.function edit5_CreateFcn(hObject, eventdata, handles)% hObject    handle to edit5 (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 && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))    set(hObject,'BackgroundColor','white');end% --------------------------------------------------------------------function Untitled_2_Callback(hObject, eventdata, handles)% hObject    handle to Untitled_2 (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)new_f_handle= figure('Visible', 'Off');new_axes = copyobj(handles.axes1, new_f_handle);colormap(gray(255));[filename,pathname]=uiputfile({'*.jpg','JPEG文件(*.jpg)'},'保存圖像');l=length(filename);if l<5    delete(new_f_handle);else    file=strcat(pathname,filename);    print(new_f_handle, '-djpeg100', file);    delete(new_f_handle);end% --------------------------------------------------------------------function Untitled_3_Callback(hObject, eventdata, handles)% hObject    handle to Untitled_3 (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)new_f_handle= figure('Visible', 'Off');new_axes = copyobj(handles.axes2, new_f_handle);colormap(gray(255));[filename,pathname]=uiputfile({'*.jpg','JPEG文件(*.jpg)'},'保存圖像');l=length(filename);if l<5    delete(new_f_handle);else    file=strcat(pathname,filename);    print(new_f_handle, '-djpeg100', file);    delete(new_f_handle);end

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产寡妇亲子伦一区二区| 久久综合久久综合亚洲| 色综合久久88色综合天天| 国产成人精品一区二区三区四区 | 日韩一区二区三区高清免费看看 | 91精品国模一区二区三区| 欧美亚洲丝袜传媒另类| 91色porny| 4hu四虎永久在线影院成人| 91丨国产丨九色丨pron| 国产精品久久久久久久久免费樱桃 | 在线观看三级视频欧美| 色域天天综合网| 欧美刺激午夜性久久久久久久| 久久久久国产一区二区三区四区| 精品久久五月天| 亚洲国产精品天堂| 国产精品77777竹菊影视小说| www.欧美日韩| 91精品国产综合久久精品图片| 欧美人妖巨大在线| 亚洲欧美偷拍另类a∨色屁股| 另类中文字幕网| 欧美亚洲综合在线| 国产欧美一区二区精品忘忧草 | 91片在线免费观看| 久久精品夜色噜噜亚洲aⅴ| 亚洲一区二区三区四区在线免费观看| 国产美女精品人人做人人爽| 777久久久精品| 美女任你摸久久| 欧美人妇做爰xxxⅹ性高电影| 亚洲欧洲日韩一区二区三区| 国产精品2024| 日韩一二三区视频| 亚洲国产精品综合小说图片区| 91在线观看免费视频| 欧美一区二区国产| 韩国精品一区二区| 久久久无码精品亚洲日韩按摩| 六月丁香综合在线视频| 精品欧美乱码久久久久久1区2区| 亚洲国产成人av好男人在线观看| 欧美日韩一级视频| 国内精品伊人久久久久影院对白| 日韩一级大片在线观看| 看电影不卡的网站| 国产精品久久久久久久久动漫| kk眼镜猥琐国模调教系列一区二区 | 午夜不卡在线视频| 日韩一二三区视频| 亚洲激情男女视频| 精品99999| 69久久夜色精品国产69蝌蚪网| 日韩电影在线观看电影| 国产精品久久久久久久第一福利| 制服.丝袜.亚洲.中文.综合| 国产+成+人+亚洲欧洲自线| 亚洲天堂中文字幕| 91精品国产免费| 欧美午夜精品一区二区三区| 成人黄色小视频| 久久99精品久久久久久动态图 | 国产日产欧产精品推荐色| 欧美图区在线视频| 久久不见久久见免费视频1| 亚洲三级理论片| 日韩一区中文字幕| 日韩一区二区高清| 日韩欧美资源站| 欧美大片拔萝卜| 91麻豆精品国产91久久久久久久久| 不卡电影一区二区三区| 99视频一区二区| eeuss鲁一区二区三区| 成人av电影免费观看| 99re免费视频精品全部| 成人禁用看黄a在线| 大陆成人av片| 九九**精品视频免费播放| 国内久久精品视频| 97se亚洲国产综合自在线不卡| 国产在线观看免费一区| 成人国产视频在线观看| 欧美无乱码久久久免费午夜一区| 99精品热视频| 日韩一区二区在线观看| 国产精品国产馆在线真实露脸 | 91黄色激情网站| 欧美美女一区二区三区| 中文字幕日韩一区| 免费精品视频最新在线| 国产一区二区三区在线观看精品| 欧洲精品一区二区三区在线观看| 欧美一级淫片007| 亚洲国产成人一区二区三区| 蜜桃视频在线观看一区| 日本黄色一区二区| 日韩三级电影网址| 婷婷久久综合九色国产成人| 丰满放荡岳乱妇91ww| 久久这里只有精品首页| 亚洲综合久久久久| 色综合久久久网| 中文字幕巨乱亚洲| 高清在线不卡av| 中文字幕在线观看不卡视频| 国产成a人亚洲精| 国产喷白浆一区二区三区| 国产精品一区二区在线播放| 欧美va亚洲va| 成熟亚洲日本毛茸茸凸凹| 国产无遮挡一区二区三区毛片日本| 久久99精品久久久久久国产越南 | 日韩一区二区视频| 日韩精品三区四区| 久久日韩粉嫩一区二区三区 | 欧美午夜精品一区二区蜜桃| 亚洲午夜激情av| 精品国产伦一区二区三区免费| 蜜臂av日日欢夜夜爽一区| 精品国产伦理网| 99精品视频一区二区三区| 国产精品久久久久久妇女6080| 蜜桃视频在线观看一区| 久久青草国产手机看片福利盒子 | 一卡二卡欧美日韩| 欧美一区二区在线视频| 成人性色生活片| ...xxx性欧美| 欧美一区二区三区人| 99久久精品一区| 国内国产精品久久| 日韩**一区毛片| 亚洲国产成人高清精品| 亚洲影院久久精品| 欧美日韩精品福利| 《视频一区视频二区| 欧美videofree性高清杂交| 91亚洲精品久久久蜜桃网站| 国产精品小仙女| 99国产精品99久久久久久| 成人精品鲁一区一区二区| 欧美日韩国产影片| 欧美韩日一区二区三区| 免费观看一级欧美片| 91黄色免费观看| 亚洲精品第一国产综合野| 国产99精品视频| 337p粉嫩大胆色噜噜噜噜亚洲| 亚洲国产综合人成综合网站| 欧洲av一区二区嗯嗯嗯啊| 日韩美女视频在线| 国内久久婷婷综合| 久久综合九色综合欧美亚洲| 亚洲成av人片一区二区梦乃 | 天天综合色天天综合| 在线一区二区三区四区| 亚洲午夜久久久久久久久久久 | 色婷婷一区二区| 亚洲激情自拍偷拍| 99国产精品久久久久| 中文字幕亚洲电影| 在线观看免费一区| 日韩国产精品久久久久久亚洲| 欧美伦理视频网站| 国产精品一区二区x88av| 久久精品欧美日韩精品| 成人国产在线观看| 亚洲成人午夜电影| 精品免费一区二区三区| 日本麻豆一区二区三区视频| 日韩精品一区二区三区在线| 成人动漫中文字幕| 一级女性全黄久久生活片免费| 欧美一级片在线| 色婷婷久久久综合中文字幕| 美女视频黄免费的久久 | 成人黄色777网| 五月天亚洲精品| 国产性做久久久久久| 欧美在线三级电影| 懂色av中文一区二区三区| 亚洲成a天堂v人片| 国产精品久久久久久妇女6080| 欧美视频一二三区| 一本色道综合亚洲| 色香蕉久久蜜桃| 国产一区二区三区黄视频 | 国产亚洲欧美色| 久久伊人蜜桃av一区二区| 欧美高清视频在线高清观看mv色露露十八| 亚洲高清免费一级二级三级| 日韩理论片一区二区| 国产精品福利一区二区| 中文字幕欧美区| 国产欧美精品国产国产专区| 中文幕一区二区三区久久蜜桃| 精品国产99国产精品| 欧美区在线观看|