![MATLAB 高斯光束傳播軌跡的模擬_第1頁(yè)](http://file4.renrendoc.com/view/43ed2aaf10b48aa03baa6ae375528f1d/43ed2aaf10b48aa03baa6ae375528f1d1.gif)
![MATLAB 高斯光束傳播軌跡的模擬_第2頁(yè)](http://file4.renrendoc.com/view/43ed2aaf10b48aa03baa6ae375528f1d/43ed2aaf10b48aa03baa6ae375528f1d2.gif)
![MATLAB 高斯光束傳播軌跡的模擬_第3頁(yè)](http://file4.renrendoc.com/view/43ed2aaf10b48aa03baa6ae375528f1d/43ed2aaf10b48aa03baa6ae375528f1d3.gif)
![MATLAB 高斯光束傳播軌跡的模擬_第4頁(yè)](http://file4.renrendoc.com/view/43ed2aaf10b48aa03baa6ae375528f1d/43ed2aaf10b48aa03baa6ae375528f1d4.gif)
![MATLAB 高斯光束傳播軌跡的模擬_第5頁(yè)](http://file4.renrendoc.com/view/43ed2aaf10b48aa03baa6ae375528f1d/43ed2aaf10b48aa03baa6ae375528f1d5.gif)
版權(quán)說(shuō)明:本文檔由用戶提供并上傳,收益歸屬內(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. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
- 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ì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 鄂爾多斯2024年內(nèi)蒙古鄂爾多斯市委社會(huì)工作部所屬事業(yè)單位引進(jìn)高層次人才1人筆試歷年參考題庫(kù)附帶答案詳解
- 貴州2025年貴州民族大學(xué)招聘34人筆試歷年參考題庫(kù)附帶答案詳解
- 貴州2025年貴州商學(xué)院招聘28人筆試歷年參考題庫(kù)附帶答案詳解
- 百色2025年廣西百色學(xué)院招聘高層次人才187人筆試歷年參考題庫(kù)附帶答案詳解
- 溫州浙江溫州樂(lè)清市醫(yī)療保障局招聘編外人員5人筆試歷年參考題庫(kù)附帶答案詳解
- 海南2025年海南省檢驗(yàn)檢測(cè)研究院招聘11人筆試歷年參考題庫(kù)附帶答案詳解
- 楚雄2025年第一批云南楚雄南華縣緊密型縣域醫(yī)共體招聘編制外工作人員筆試歷年參考題庫(kù)附帶答案詳解
- 普洱2024年云南普洱市科學(xué)技術(shù)局城鎮(zhèn)公益性崗位工作人員招聘筆試歷年參考題庫(kù)附帶答案詳解
- 文山2025年云南文山市公安局第一批警務(wù)輔助人員招聘47人筆試歷年參考題庫(kù)附帶答案詳解
- 怒江2025年云南怒江州財(cái)政局公益性崗位招聘筆試歷年參考題庫(kù)附帶答案詳解
- 《氓》教學(xué)設(shè)計(jì) 2023-2024學(xué)年統(tǒng)編版高中語(yǔ)文選擇性必修下冊(cè)
- 《網(wǎng)店運(yùn)營(yíng)與管理》第3版 課件全套 白東蕊 第1-11章 網(wǎng)上開(kāi)店概述- 移動(dòng)網(wǎng)店運(yùn)營(yíng)
- 2024年全國(guó)國(guó)家電網(wǎng)招聘之電網(wǎng)計(jì)算機(jī)考試歷年考試題(附答案)
- 化學(xué)元素周期表注音版
- 藥物過(guò)敏性休克
- T-GDASE 0042-2024 固定式液壓升降裝置安全技術(shù)規(guī)范
- 2024福建省廈門市總工會(huì)擬錄用人員筆試歷年典型考題及考點(diǎn)剖析附答案帶詳解
- 四川省康定市大槽門金礦資源儲(chǔ)量核實(shí)報(bào)告
- DL-T-805.1-2011火電廠汽水化學(xué)導(dǎo)則第1部分:鍋爐給水加氧處理導(dǎo)則
- 《電力系統(tǒng)自動(dòng)化運(yùn)維綜合實(shí)》課件-2M 同軸電纜制作
- 《會(huì)計(jì)學(xué)原理》習(xí)題及答案
評(píng)論
0/150
提交評(píng)論