MATLAB仿真平面電磁波在不同媒介分界面上的入射復(fù)習(xí)課程_第1頁
MATLAB仿真平面電磁波在不同媒介分界面上的入射復(fù)習(xí)課程_第2頁
MATLAB仿真平面電磁波在不同媒介分界面上的入射復(fù)習(xí)課程_第3頁
MATLAB仿真平面電磁波在不同媒介分界面上的入射復(fù)習(xí)課程_第4頁
MATLAB仿真平面電磁波在不同媒介分界面上的入射復(fù)習(xí)課程_第5頁
已閱讀5頁,還剩7頁未讀, 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡介

1、收集于網(wǎng)絡(luò),如有侵權(quán)請聯(lián)系管理員刪除MATLAB仿真平面電磁波在不同媒介分界面上的入射MATLAB仿真平面電磁波在不同媒介分界面上的入射、反射和折射一、實(shí)驗(yàn)?zāi)康模?、進(jìn)一步學(xué)習(xí)MATLAB,初步掌握GUI界面的編程。2、通過編程實(shí)現(xiàn)電磁波仿真效果圖。3、進(jìn)一步理解平面電磁波的入射、反射和折射現(xiàn)象二、實(shí)驗(yàn)要求:1、以電場為例,動(dòng)態(tài)演示平面電磁波的傳播情況。2、可以任意設(shè)置媒介的介電常數(shù)和入射角。3、考慮金屬導(dǎo)體和空氣的分界面平面電磁波的入射、反射情況。二、實(shí)驗(yàn)原理:種媒質(zhì)入射到第二種媒質(zhì)時(shí),分界面使一部分能量反射回第一種媒質(zhì),另一部分能量折射到第二種媒質(zhì)中,反射波和折射波得大小和相位取決于分界面

2、兩側(cè)的媒質(zhì)特性、極化方向和入射角大小等,當(dāng)電磁波入射到理想導(dǎo)體表面時(shí),會(huì)發(fā)生全反射。這一過程中包括的主要原理有以下二點(diǎn)。1、正弦平面波在媒質(zhì)分界面的反射和折射規(guī)律波對分界面的入射是任意的,但為了方便,我們假設(shè)入射面與zox面重合。波在zo時(shí)發(fā)生入射和反射,在zo時(shí)發(fā)生折射并令空間任意一點(diǎn)r處的入根據(jù)在z=0的界面上電場強(qiáng)度的切線分量相等的邊界條件,有E(x,y,0)=E(x,y,0)=E(x,y,0)irt故必有ksin0=ksin0=ksin01i1r2反射定律:0=0ir折射定律:ksin0=ksin01i2r2、正弦平面波對理想介質(zhì)的斜入射垂直極化波垂直極化波對理想介質(zhì)斜入射如圖所示,由

3、折射和反射定律,我們可以得到在任意媒質(zhì)中的場強(qiáng)。在第一煤質(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ì)中的場強(qiáng)。在第一煤質(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)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲(chǔ)空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

最新文檔

評論

0/150

提交評論