![MATLAB 高斯光束傳播軌跡的模擬_第1頁](http://file4.renrendoc.com/view/43ed2aaf10b48aa03baa6ae375528f1d/43ed2aaf10b48aa03baa6ae375528f1d1.gif)
![MATLAB 高斯光束傳播軌跡的模擬_第2頁](http://file4.renrendoc.com/view/43ed2aaf10b48aa03baa6ae375528f1d/43ed2aaf10b48aa03baa6ae375528f1d2.gif)
![MATLAB 高斯光束傳播軌跡的模擬_第3頁](http://file4.renrendoc.com/view/43ed2aaf10b48aa03baa6ae375528f1d/43ed2aaf10b48aa03baa6ae375528f1d3.gif)
![MATLAB 高斯光束傳播軌跡的模擬_第4頁](http://file4.renrendoc.com/view/43ed2aaf10b48aa03baa6ae375528f1d/43ed2aaf10b48aa03baa6ae375528f1d4.gif)
![MATLAB 高斯光束傳播軌跡的模擬_第5頁](http://file4.renrendoc.com/view/43ed2aaf10b48aa03baa6ae375528f1d/43ed2aaf10b48aa03baa6ae375528f1d5.gif)
版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
MATLAB高斯光束傳播軌跡的模擬Bl:高斯光束傳播軌跡的模擬設(shè)計(jì)任務(wù):作圖表示高斯光束的傳播軌跡(1)基模高斯光束在自由空間的傳播軌跡;(2)基模高斯光束經(jīng)單透鏡變換前后的傳播軌跡;(3)基模高斯光束經(jīng)調(diào)焦望遠(yuǎn)鏡變換前后的傳播軌跡。functionvarargout=B1(varargin)%B1M-fileforB1.fig% B1,byitself,createsanewB1orraisestheexisting%singleton*.%%H=B1returnsthehandletoanewB1orthehandleto%theexistingsingleton*.%% B1('CALLBACK',hObject,eventData,handles,...)callsthelocal% functionnamedCALLBACKinB1.Mwiththegiveninputarguments.%% B1('Property','Value',...)createsanewB1orraisesthe%existingsingleton*.Startingfromtheleft,propertyvaluepairsare%appliedtotheGUIbeforeB1_OpeningFunctiongetscalled.An%unrecognizedpropertynameorinvalidvaluemakespropertyapplication%stop.AllinputsarepassedtoB1_OpeningFcnviavarargin.%%*SeeGUIOptionsonGUIDE'sToolsmenu.Choose\%instancetorun(singleton)\%%Seealso:GUIDE,GUIDATA,GUIHANDLES%Copyright2002-2021TheMathWorks,Inc.%EdittheabovetexttomodifytheresponsetohelpB1%LastModifiedbyGUIDEv2.521-Oct-202117:52:32%Begininitializationcode-DONOTEDITgui_Singleton=1;gui_State=struct('gui_Name',mfilename,...'gui_Singleton',gui_Singleton,...'gui_OpeningFcn',@B1_OpeningFcn,...'gui_OutputFcn',@B1_OutputFcn,...'gui_LayoutFcn',[],...'gui_Callback',[]);ifnargin&&ischar(varargin{1})gui_State.gui_Callback=str2func(varargin{1});endifnargout[varargout{1:nargout}]=gui_mainfcn(gui_State,varargin{:});elsegui_mainfcn(gui_State,varargin{:});end%Endinitializationcode-DONOTEDIT%---ExecutesjustbeforeB1ismadevisible.functionB1_OpeningFcn(hObject,eventdata,handles,varargin)%Thisfunctionhasnooutputargs,seeOutputFcn.%hObjecthandletofigure%eventdatareserved-tobedefinedinafutureversionofMATLAB%handlesstructurewithhandlesanduserdata(seeGUIDATA)%varargincommandlineargumentstoB1(seeVARARGIN)%ChoosedefaultcommandlineoutputforB1handles.output=hObject;%Updatehandlesstructureguidata(hObject,handles);%UIWAITmakesB1waitforuserresponse(seeUIRESUME)%uiwait(handles.figure1);%---Outputsfromthisfunctionarereturnedtothecommandline.functionvarargout=B1_OutputFcn(hObject,eventdata,handles)%varargoutcellarrayforreturningoutputargs(seeVARARGOUT);%hObjecthandletofigure%eventdatareserved-tobedefinedinafutureversionofMATLAB%handlesstructurewithhandlesanduserdata(seeGUIDATA)%Getdefaultcommandlineoutputfromhandlesstructurevarargout{1}=handles.output;%---Executesonbuttonpressinpushbutton1.functionpushbutton1_Callback(hObject,eventdata,handles)%hObjecthandletopushbutton1(seeGCBO)%eventdatareserved-tobedefinedinafutureversionofMATLAB%handlesstructurewithhandlesanduserdata(seeGUIDATA)handles.W0=str2double(get(handles.editW0,'string'));handles.B=str2double(get(handles.editB,'string'));guidata(hObject,handles);Z=-100:100;W=(handles.W0*10“4)*(sqrt(l+handles.B“2*(Z*10飛)."2./(pi"2*(handles.W0*10“4廠4)));plot(Z,W,'b',Z,-W,'b');%---Executesonbuttonpressinpushbutton2.functionpushbutton2_Callback(hObject,eventdata,handles)%hObjecthandletopushbutton2(seeGCBO)%eventdatareserved-tobedefinedinafutureversionofMATLAB%handlesstructurewithhandlesanduserdata(seeGUIDATA)handles.W0=str2double(get(handles.editW0,'string'));handles.B=str2double(get(handles.editB,'string'))/1000;handles.Z=str2double(get(handles.editZ,'string'))*1000;handles.f=str2double(get(handles.editf,'string'))*10;L=(handles.Z-handles.f)*handles.f2/((handles.Z-handles.f)2+pi2*handles.W04/handles.B2)+handles.f;T1二—handles.Z:1:handles.Z;Y1二handles.WO*sqrt(l+Tl.2*handles.B2/(pi2*handles.W04));T2=handles.Z:1:(handles.Z+2*L);W1=(handles.W0*handles.f/sqrt((handles.f-handles.Z廠2+pi"2*handles.W0“4/handles.B“2));Y2=W1*sqrt(1+(T2-handles.Z-L)."2/(pi"2*W1"4/handles.B"2));plot(T1,Y1,'b',T1,-Y1,'b',T2,Y2,'r',T2,-Y2,'r');% Executesonbuttonpressinpushbutton3.functionpushbutton3_Callback(hObject,eventdata,handles)%hObjecthandletopushbutton3(seeGCBO)%eventdatareserved-tobedefinedinafutureversionofMATLAB%handlesstructurewithhandlesanduserdata(seeGUIDATA)handles.W0=str2double(get(handles.editW0,'string'));handles.B=str2double(get(handles.editB,'string'))/1000;handles.f1=str2double(get(handles.editf1,'string'))*10;handles.Z=str2double(get(handles.editZ,'string'))*1000;handles.f2=str2double(get(handles.editf2,'string'))*10;L=(handles.Z-handles.f1)*handles.f12/((handles.Z-handles.f1廠2+pi"2*handles.W0“4/handles.B“2)+handles.f1;T1=-handles.Z:1:handles.Z;Y1=handles.W0*sqrt(1+T1.2*handles.B2/(pi2*handles.W04));T2=handles.Z:1:(handles.Z+L+handles.f2);W1=(handles.W0*handles.f1./sqrt((handles.f1-handles.Z廠2+pi"2*handles.W0“4./handles.B“2));Y2=W1*sqrt(1+(T2-handles.Z-L)."2./(pi"2*W「4/handles.B“2));W2=W1*sqrt(1+handles.f2"2/(pi"2*W「4/handles.B“2));T3=(handles.Z+L+handles.f2):1:3*(handles.Z+L+handles.f2);Y3=W2;plot(T1,Y1,'b',T1,-Y1,'b',T2,Y2,'r',T2,-Y2,'r',T3,Y3,'g',T3,-Y3,'g');gridon;functioneditW0_Callback(hObject,eventdata,handles)%hObjecthandletoeditW0(seeGCBO)%eventdatareserved-tobedefinedinafutureversionofMATLAB%handlesstructurewithhandlesanduserdata(seeGUIDATA)%Hints:get(hObject,'String')returnscontentsofeditW0astext%str2double(get(hObject,'String'))returnscontentsofeditW0asadouble%---Executesduringobjectcreation,aftersettingallproperties.functioneditW0_CreateFcn(hObject,eventdata,handles)%hObjecthandletoeditW0(seeGCBO)%eventdatareserved-tobedefinedinafutureversionofMATLAB%handlesempty-handlesnotcreateduntilafterallCreateFcnscalled%Hint:editcontrolsusuallyhaveawhitebackgroundonWindows.%SeeISPCandCOMPUTER.ifispcset(hObject,'BackgroundColor','white');elseset(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));endfunctioneditB_Callback(hObject,eventdata,handles)%hObjecthandletoeditB(seeGCBO)%eventdatareserved-tobedefinedinafutureversionofMATLAB%handlesstructurewithhandlesanduserdata(seeGUIDATA)%Hints:get(hObject,'String')returnscontentsofeditBastext%str2double(get(hObject,'String'))returnscontentsofeditBasadouble%---Executesduringobjectcreation,aftersettingallproperties.functioneditB_CreateFcn(hObject,eventdata,handles)%hObjecthandletoeditB(seeGCBO)%eventdatareserved-tobedefinedinafutureversionofMATLAB%handlesempty-handlesnotcreateduntilafterallCreateFcnscalled%Hint:editcontrolsusuallyhaveawhitebackgroundonWindows.%SeeISPCandCOMPUTER.ifispcset(hObject,'BackgroundColor','white');elseset(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));endfunctioneditZ_Callback(hObject,eventdata,handles)%hObjecthandletoeditZ(seeGCBO)%eventdatareserved-tobedefinedinafutureversionofMATLAB%handlesstructurewithhandlesanduserdata(seeGUIDATA)%Hints:get(hObject,'String')returnsc
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 2025年全球及中國(guó)動(dòng)態(tài)圖像分析儀行業(yè)頭部企業(yè)市場(chǎng)占有率及排名調(diào)研報(bào)告
- 2025年全球及中國(guó)自動(dòng)粉末噴涂系統(tǒng)行業(yè)頭部企業(yè)市場(chǎng)占有率及排名調(diào)研報(bào)告
- 2025-2030全球可生物降解微膠囊解決方案行業(yè)調(diào)研及趨勢(shì)分析報(bào)告
- 2025-2030全球生物分析測(cè)試行業(yè)調(diào)研及趨勢(shì)分析報(bào)告
- 2025年全球及中國(guó)高壓清洗機(jī)噴槍行業(yè)頭部企業(yè)市場(chǎng)占有率及排名調(diào)研報(bào)告
- 幼兒園科學(xué)討論活動(dòng)概述模塊二幼兒園科學(xué)探究活動(dòng)講解
- 必殺08 第九、十單元 西半球的國(guó)家和極地地區(qū)(綜合題20題)(解析版)
- 猜想02 重難點(diǎn)(70道題25個(gè)重難點(diǎn))【考題猜想】(解析版)
- 2025我國(guó)合同法對(duì)合同效力的規(guī)定
- 合法的房屋租賃合同
- 《氓》教學(xué)設(shè)計(jì) 2023-2024學(xué)年統(tǒng)編版高中語文選擇性必修下冊(cè)
- 化學(xué)元素周期表注音版
- T-GDASE 0042-2024 固定式液壓升降裝置安全技術(shù)規(guī)范
- 消防維保服務(wù)方案及實(shí)施細(xì)則
- 香港朗文4B單詞及句子
- 數(shù)據(jù)中心運(yùn)維方案
- 運(yùn)動(dòng)技能學(xué)習(xí)與控制課件第五章運(yùn)動(dòng)中的中樞控制
- 財(cái)務(wù)部規(guī)范化管理 流程圖
- 蘇教版2023年小學(xué)四年級(jí)數(shù)學(xué)下冊(cè)教學(xué)計(jì)劃+教學(xué)進(jìn)度表
- 斷絕關(guān)系協(xié)議書范文參考(5篇)
- 最新變態(tài)心理學(xué)課件
評(píng)論
0/150
提交評(píng)論