




版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認領(lǐng)
文檔簡介
1、收集于網(wǎng)絡(luò),如有侵權(quán)請聯(lián)系管理員刪除MATLAB仿真平面電磁波在不同媒介分界面上的入射MATLAB仿真平面電磁波在不同媒介分界面上的入射、反射和折射一、實驗?zāi)康模?、進一步學(xué)習MATLAB,初步掌握GUI界面的編程。2、通過編程實現(xiàn)電磁波仿真效果圖。3、進一步理解平面電磁波的入射、反射和折射現(xiàn)象二、實驗要求:1、以電場為例,動態(tài)演示平面電磁波的傳播情況。2、可以任意設(shè)置媒介的介電常數(shù)和入射角。3、考慮金屬導(dǎo)體和空氣的分界面平面電磁波的入射、反射情況。二、實驗原理:種媒質(zhì)入射到第二種媒質(zhì)時,分界面使一部分能量反射回第一種媒質(zhì),另一部分能量折射到第二種媒質(zhì)中,反射波和折射波得大小和相位取決于分界面
2、兩側(cè)的媒質(zhì)特性、極化方向和入射角大小等,當電磁波入射到理想導(dǎo)體表面時,會發(fā)生全反射。這一過程中包括的主要原理有以下二點。1、正弦平面波在媒質(zhì)分界面的反射和折射規(guī)律波對分界面的入射是任意的,但為了方便,我們假設(shè)入射面與zox面重合。波在zo時發(fā)生入射和反射,在zo時發(fā)生折射并令空間任意一點r處的入根據(jù)在z=0的界面上電場強度的切線分量相等的邊界條件,有E(x,y,0)=E(x,y,0)=E(x,y,0)irt故必有ksin0=ksin0=ksin01i1r2反射定律:0=0ir折射定律:ksin0=ksin01i2r2、正弦平面波對理想介質(zhì)的斜入射垂直極化波垂直極化波對理想介質(zhì)斜入射如圖所示,由
3、折射和反射定律,我們可以得到在任意媒質(zhì)中的場強。在第一煤質(zhì)中E=E(ejkZcos%+Rejkzcos%)ejkXsin%1yi0H=(Hcos0)(ejk1zcos%1Rejk1zcos%1)ejk1xsin%11xi01H=(Hsin0)(ejk1zcos%+Rejk占cos%)ejklxsin%1zi01111111在第二煤質(zhì)中&J耳cos0一耳cos0廠TOC o 1-5 h zE=t+2Er0耳cos0+qcos0i021122qcos0匸E=21E10耳cos0+qcos0i02112E二Eejk2(xsin02+xcos02)2y10H=(Hcos0)ejk2(xsin02+xc
4、os02)2x102H=(Hsin0)ejk2(xsin02+xcos02)2zt02圖表2垂直極化波斜入射平行極化波平行極化波對理想介質(zhì)斜入射如圖所示,由折射和反射定律,我們可以得到在任意媒質(zhì)中的場強。在第一煤質(zhì)中E=(Ecos0)(ejk1zcos0+RejkZcos0i)ejkxsin01TOC o 1-5 h z1xi01E-(Esin0)(ejk1zcos01Rejk1zcos01)ejk1xsin011zi01HH(ejkZcos0Rejkfcos0)ejkxsin01yi0在第二煤質(zhì)中TOC o 1-5 h z耳cos0一耳cos0,E=2211Er0耳cos0+耳cos0i02
5、211Et0Ei02qcos021耳cos0+耳cos02211TOC o 1-5 h zE-(Ecos0)e一j&2(xsin0?+zcos&2)2x1022Bt_Eyx=-xv*sind(sita);y=xv*cosd(sita);x=x+cosd(sita)*yv;y=y+sind(sita)*yv;xv1=0:pi/10:20*pi;yv1=sqrt(1-er*er)*sin(xv-pi/30*i);%zEa2BlEyx1=xv1*sind(sita);y1=xv1*cosd(sita);x1=x1-2*cosd(sita)*yv1;y1=y1+sind(sita)*yv1;xv2=0
6、:pi/10:20*pi;yv2=er*sin(xv-pi/30*i);%dUEa2Bl_Eyx2=xv2*sind(sita1);y2=xv2*cosd(sita1);x2=x2-cosd(sita1)*yv2;y2=y2+sind(sita1)*yv2;%plot(zeros(1:81)%plot(-40:0.01:40,0)%holdon%plot(0,-60:0.01:60)%holdonplot(x,y,x1,y1,x2,-y2,-5050,00,k,00,-5050,k);su=get(handles.edit2);su=str2num(su.String);sudu=1/su;p
7、ause(sudu)endfunctionedit2_Callback(hObject,eventdata,handles)%hObjecthandletoedit2(seeGCBO)%eventdatareserved-tobedefinedinafutureversionofMATLAB%handlesstructurewithhandlesanduserdata(seeGUIDATA)%Hints:get(hObject,String)returnscontentsofedit2astext%str2double(get(hObject,String)returnscontentsofe
8、dit2asadouble%-Executesduringobjectcreation,aftersettingallproperties.functionedit2_CreateFcn(hObject,eventdata,handles)%hObjecthandletoedit2(seeGCBO)%eventdatareserved-tobedefinedinafutureversionofMATLAB%handlesempty-handlesnotcreateduntilafterallCreateFcnscalled%Hint:editcontrolsusuallyhaveawhiteb
9、ackgroundonWindows.%SeeISPCandCOMPUTER.ifispc&isequal(get(hObject,BackgroundColor),get(0,defaultUicontrolBackgroundColor)set(hObject,BackgroundColor,white);end%hObjecthandletopushbutton1(seeGCBO)%eventdatareserved-tobedefinedinafutureversionofMATLAB%handlesstructurewithhandlesanduserdata(seeGUIDATA)
10、functionedit3_Callback(hObject,eventdata,handles)%hObjecthandletoedit3(seeGCBO)%eventdatareserved-tobedefinedinafutureversionofMATLAB%handlesstructurewithhandlesanduserdata(seeGUIDATA)%Hints:get(hObject,String)returnscontentsofedit3astext%str2double(get(hObject,String)returnscontentsofedit3asadouble
11、%-Executesduringobjectcreation,aftersettingallproperties.functionedit3_CreateFcn(hObject,eventdata,handles)%hObjecthandletoedit3(seeGCBO)%eventdatareserved-tobedefinedinafutureversionofMATLAB%handlesempty-handlesnotcreateduntilafterallCreateFcnscalled%Hint:editcontrolsusuallyhaveawhitebackgroundonWi
12、ndows.%SeeISPCandCOMPUTER.ifispc&isequal(get(hObject,BackgroundColor),get(0,defaultUicontrolBackgroundColor)set(hObject,BackgroundColor,white);endfunctionedit1_Callback(hObject,eventdata,handles)%hObjecthandletoedit1(seeGCBO)%eventdatareserved-tobedefinedinafutureversionofMATLAB%handlesstructurewith
13、handlesanduserdata(seeGUIDATA)%Hints:get(hObject,String)returnscontentsofedit1astext%str2double(get(hObject,String)returnscontentsofedit1asadouble%-Executesduringobjectcreation,aftersettingallproperties.functionedit1_CreateFcn(hObject,eventdata,handles)%hObjecthandletoedit1(seeGCBO)%eventdatareserve
14、d-tobedefinedinafutureversionofMATLAB%handlesempty-handlesnotcreateduntilafterallCreateFcnscalled%Hint:editcontrolsusuallyhaveawhitebackgroundonWindows.%SeeISPCandCOMPUTER.ifispc&isequal(get(hObject,BackgroundColor),get(0,defaultUicontrolBackgroundColor)set(hObject,BackgroundColor,white);endfunction
15、edit5_Callback(hObject,eventdata,handles)%hObjecthandletoedit2(seeGCBO)%eventdatareserved-tobedefinedinafutureversionofMATLAB%handlesstructurewithhandlesanduserdata(seeGUIDATA)%Hints:get(hObject,String)returnscontentsofedit2astext%str2double(get(hObject,String)returnscontentsofedit2asadouble%-Execut
16、esduringobjectcreation,aftersettingallproperties.functionedit5_CreateFcn(hObject,eventdata,handles)%hObjecthandletoedit2(seeGCBO)%eventdatareserved-tobedefinedinafutureversionofMATLAB%handlesempty-handlesnotcreateduntilafterallCreateFcnscalled%Hint:editcontrolsusuallyhaveawhitebackgroundonWindows.%S
17、eeISPCandCOMPUTER.ifispc&isequal(get(hObject,BackgroundColor),get(0,defaultUicontrolBackgroundColor)set(hObject,BackgroundColor,white);endfunctionedit8_Callback(hObject,eventdata,handles)%hObjecthandletoedit8(seeGCBO)%eventdatareserved-tobedefinedinafutureversionofMATLAB%handlesstructurewithhandlesa
18、nduserdata(seeGUIDATA)%Hints:get(hObject,String)returnscontentsofedit8astext%str2double(get(hObject,String)returnscontentsofedit8asadouble%-Executesduringobjectcreation,aftersettingallproperties.functionedit8_CreateFcn(hObject,eventdata,handles)%hObjecthandletoedit8(seeGCBO)%eventdatareserved-tobede
19、finedinafutureversionofMATLAB%handlesempty-handlesnotcreateduntilafterallCreateFcnscalled%Hint:editcontrolsusuallyhaveawhitebackgroundonWindows.%SeeISPCandCOMPUTER.ifispc&isequal(get(hObject,BackgroundColor),get(0,defaultUicontrolBackgroundColor)set(hObject,BackgroundColor,white);endfunctionedit10_C
20、allback(hObject,eventdata,handles)%hObjecthandletoedit2(seeGCBO)%eventdatareserved-tobedefinedinafutureversionofMATLAB%handlesstructurewithhandlesanduserdata(seeGUIDATA)%Hints:get(hObject,String)returnscontentsofedit2astext%str2double(get(hObject,String)returnscontentsofedit2asadouble%-Executesdurin
21、gobjectcreation,aftersettingallproperties.functionedit10_CreateFcn(hObject,eventdata,handles)%hObjecthandletoedit2(seeGCBO)%eventdatareserved-tobedefinedinafutureversionofMATLAB%handlesempty-handlesnotcreateduntilafterallCreateFcnscalled%Hint:editcontrolsusuallyhaveawhitebackgroundonWindows.%SeeISPCandCOMPUTER.ifispc&isequal(get(hObject,BackgroundColor),get(0,defaultUicontrolBackgroundColor)set(hObject,BackgroundColor,white);endfunctionedit4_Callback(hObjec
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責。
- 6. 下載文件中如有侵權(quán)或不適當內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 【正版授權(quán)】 ISO/IEC 27403:2024 EN Cybersecurity – IoT security and privacy – Guidelines for IoT-domotics
- 2025年無機分離膜材料合作協(xié)議書
- 2025版安置房買賣合同范本:限價房交易政策范本
- 2025年度廠區(qū)門衛(wèi)智能化升級改造服務(wù)合同范本
- 2025年高壓清洗車合作協(xié)議書
- 社團活動反饋與改進方案計劃
- 教學(xué)資源整合與優(yōu)化策略計劃
- 企業(yè)未來發(fā)展的創(chuàng)新思考計劃
- 財務(wù)企劃管理計劃
- 建立健全院內(nèi)溝通反饋機制的計劃
- 白酒業(yè)務(wù)員考勤管理制度
- 小班班本課程《吃飯這件小事》
- 危險化學(xué)品事故應(yīng)急預(yù)案演練評估報告
- 部編人教版六年級道德與法治下冊全冊完整版課件
- 會議紀要督辦管理制度
- 電動車輛動力電池系統(tǒng)及應(yīng)用技術(shù) 第3版 課件全套 王震坡 第1-11章 動力電池及其驅(qū)動的電動車輛- 動力電池充電方法與基礎(chǔ)設(shè)施
- 2024云南中考數(shù)學(xué)二輪專題復(fù)習 題型五 二次函數(shù)性質(zhì)綜合題(課件)
- JB∕T 9006-2013 起重機 卷筒標準規(guī)范
- 家庭法律服務(wù)行業(yè)市場突圍建議書
- 高一數(shù)學(xué)同步優(yōu)品講練課件(人教A版2019必修第一冊)3.2 函數(shù)的基本性質(zhì)(課時3 函數(shù)的奇偶性)(課件)
- 太平洋保險計劃書模板
評論
0/150
提交評論