




版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡介
精品資料精品資料利用(利用邦加球算法驗(yàn)證固定偏振態(tài)到任意偏振態(tài)的轉(zhuǎn)換,其結(jié)果布滿整個(gè)邦加球-MATLABsimulationusingpolarimetriccontroller(with),fixedballalgorithmtoanypolarizationtransformationofpolarization,andtheresultisfullofwholenationsplustheballclearclc %QHQsubplot(1,2,1)[x,y,z]=sphere;mesh(x,y,z);xlabel('S1')ylabel('S2')zlabel('S3')boxoncolormap(bone);holdon%入射光%I=[1;0;0;1]; %I=[1;0;0;-1]; %左旋圓偏振光%I=[1;1;0;0]; %水平線偏振光%I=[1;-1;0;0]; %(可見)%I=[1;0;1;0]; %45度線偏振光I=[1;0;-1;0]; %-45(可見)%I=[1;-0.2;-0.5;0.8994]; %某一橢圓偏振光plot3(I(2),I(3),I(4),'*')%畫出入射光的偏振態(tài)位置%各波片的方位角theta1=rand(1,5000)*pi-pi/2;theta2=rand(1,5000)*pi-pi/2;theta3=rand(1,5000)*pi-pi/2;subplot(1,2,2)[x,y,z]=sphere;mesh(x,y,z);xlabel('S1')ylabel('S2')zlabel('S3')axis([-1,1,-1,1,-1,1]);boxoncolormap(bone);%求出射光的偏振態(tài)holdonfori=1:5000c=theta3(i);M3=Muller(a,pi/2);M2=Muller(b,pi);M1=Muller(c,pi/2);M=M3*M2*M1;O=M*I;O_1=O(2);O_2=O(3);O_3=O(4);plot3(O_1,O_2,O_3,'r*')holdonend1;偏振控制器,利用綁架球算法對(duì)QHQ型進(jìn)行方位角的誤差分析%已知輸入輸出,分析方位角誤差clearclc%I=[1;0.2;0.4;0.8944]; %采用斯托克斯方法輸入的情況。%O=[1;0;0;1];%[I1,I2,I3]=sop_3(I);%[O1,O2,O3]=sop_3(O);%theta_in=atan(I2/I1);%theta_out=atan(O2/O1);%xi_in=asin(I3/sqrt(I1^2+I2^2+I3^2));%xi_out=asin(O3/sqrt(O1^2+O2^2+O3^2));theta_in=30*pi/180; xi_in=45*pi/180;theta_out=135*pi/180;xi_out=22.5*pi/180;Delta_gamma=normrnd(0,0.005,1,1000); %正態(tài)分布均值為0方差為0.005Delta_alpha=normrnd(0,0.005,1,1000);Delta_beta=normrnd(0,0.005,1,1000);fori=1:1000 態(tài)theta_3=theta_out-xi_out-Delta_alpha(i)-atan(tan(xi_in)/cos(Delta_alpha(i)))+xi_in+2*Delta_beta(i);xi_3=-acos(sqrt(cos(Delta_alpha(i))*cos(Delta_alpha(i))*cos(xi_in)*cos(xi_in)+sin(xi_in)*sin(xi_in)));Delta_theta(i)=1/2*(Delta_gamma(i)+atan(tan(xi_3)/cos(theta_out+Delta_gamma(i)-theta_3)));a_3)))-xi_out);subplot(2,3,1)xlabel('\Delta\alpha/rad'), plot(Delta_alpha(i),Delta_theta(i),'r')holdonsubplot(2,3,2)xlabel('\Delta\beta/rad'), plot(Delta_beta(i),Delta_theta(i),'g')holdonsubplot(2,3,3)xlabel('\Delta\gamma/rad'), plot(Delta_gamma(i),Delta_theta(i))holdonsubplot(2,3,4)xlabel('\Delta\alpha/rad'), plot(Delta_alpha(i),Delta_xi(i),'r')holdonsubplot(2,3,5)xlabel('\Delta\beta/rad'), plot(Delta_beta(i),Delta_xi(i),'g')holdonsubplot(2,3,6)xlabel('\Delta\gamma/rad'), plot(Delta_gamma(i),Delta_xi(i))holdonend...偏振控制器,利用綁架球?qū)HQ型進(jìn)行波長誤差分析-Polarization...clearclc%I=[1;0.2;0.4;0.8944]; %采用斯托克斯方法輸入的情況。%O=[1;0;0;1];%[I1,I2,I3]=sop_3(I);%[O1,O2,O3]=sop_3(O);%theta_in=atan(I2/I1);%theta_out=atan(O2/O1);%xi_in=asin(I3/sqrt(I1^2+I2^2+I3^2));%xi_out=asin(O3/sqrt(O1^2+O2^2+O3^2));theta_in=30*pi/180; xi_in=45*pi/180;theta_out=135*pi/180;xi_out=22.5*pi/180;Delta_gamma=normrnd(0,0.005,1,1000); %正態(tài)分布均值為0方差為0.005Delta_alpha=normrnd(0,0.005,1,1000);Delta_beta=normrnd(0,0.005,1,1000);fori=1:1000theta_3=theta_out-xi_out-Delta_alpha(i)-atan(tan(xi_in)/cos(Delta_alpha(i)))+xi_in+2*Delta_beta(i);xi_3=-acos(sqrt(cos(Delta_alpha(i))*cos(Delta_alpha(i))*cos(xi_in)*cos(xi_in)+sin(xi_in)*sin(xi_in)));Delta_theta=1/2*(Delta_gamma(i)+atan(tan(xi_3)/cos(theta_out+Delta_gamma(i)-theta_3)));Delta_xi=1/2*(acos(sqrt(cos(theta_out+Delta_gamma(i)-theta_3)*cos(theta_out+Delta_gamma(i)-theta_3)*cos(theta_3)*cos(theta_3)+sin(theta_3)*sin(theta_3)))-xi_out);subplot(3,2,1)xlabel('\Delta\alpha/rad'), plot(Delta_alpha(i),Delta_theta,'r')holdonsubplot(3,2,3)xlabel('\Delta\beta/rad'), plot(Delta_beta(i),Delta_theta,'g')holdonsubplot(3,2,5)xlabel('\Delta\gamma/rad'), plot(Delta_gamma(i),Delta_theta)holdonsubplot(3,2,2)xlabel('\Delta\alpha/rad'), plot(Delta_alpha(i),Delta_xi,'r')holdonsubplot(3,2,4)xlabel('\Delta\beta/rad'), plot(Delta_beta(i),Delta_xi,'g')holdonsubplot(3,2,6)xlabel('\Delta\gamma/rad'), plot(Delta_gamma(i),Delta_xi)holdonend...figure('color','k','Position',[1311280696]);axes1=axes('position',[0.20.60.30.3]);axis(axes1,'equal');axis(axes1,'off');holdonrl=1;rs=0.5;N=30;t1=linspace(0,2*pi,N);xl=rl*cos(t1);yl=rl*sin(t1);t2=linspace(0,2*pi,100);xs=rs*cos(t2);ys=rs*sin(t2);fori=1:Nplot(xl(i)+xs,yl(i)+ys);endaxes2=axes('position',[0.50.60.30.3]);axis(axes2,'equal');holdonrl=1;rs=1;N=30;t1=linspace(0,2*pi,N);xl=rl*cos(t1);yl=rl*sin(t1);t2=linspace(0,2*pi,100);xs=rs*cos(t2);ys=rs*sin(t2);fori=1:Nplot(xl(i)+xs,yl(i)+ys);endaxes3=axes('position',[0.350.200.30.3]);axis(axes3,'equal');axis(axes3,'off');holdonrl=1;rs=1.5;N=30;t1=linspace(0,2*pi,N);xl=rl*cos(t1);yl=rl*sin(t1);t2=linspace(0,2*pi,100);xs=rs*cos(t2);ys=rs*sin(t2);fori=1:Nplot(xl(i)+xs,yl(i)+ys);end%存腳本文件heart.m%%一個(gè)半徑為R的圓周等分成N份,然后一等分點(diǎn)為圓心,以等分點(diǎn)到該圓垂直直徑%%的距離為半徑畫圓。N=90;R
溫馨提示
- 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. 人人文庫網(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ì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 自考企業(yè)管理論文答辯
- 2025年離合器:離合器從動(dòng)盤項(xiàng)目建議書
- 2025年梅毒診斷抗原項(xiàng)目發(fā)展計(jì)劃
- 2025年聚酰亞胺(PI)及改性材料項(xiàng)目建議書
- 耕地質(zhì)量培訓(xùn)課件
- 中職高考數(shù)學(xué)二輪復(fù)習(xí)專項(xiàng)突破練習(xí)專題44 綜合練習(xí)9(含答案)
- 鐘表、眼鏡零售企業(yè)數(shù)字化轉(zhuǎn)型與智慧升級(jí)戰(zhàn)略研究報(bào)告
- 行李包裹托運(yùn)服務(wù)企業(yè)ESG實(shí)踐與創(chuàng)新戰(zhàn)略研究報(bào)告
- 白板筆批發(fā)企業(yè)數(shù)字化轉(zhuǎn)型與智慧升級(jí)戰(zhàn)略研究報(bào)告
- 臺(tái)歷批發(fā)企業(yè)縣域市場(chǎng)拓展與下沉戰(zhàn)略研究報(bào)告
- 2024年中北大學(xué)招考聘用博士研究生(高頻重點(diǎn)復(fù)習(xí)提升訓(xùn)練)共500題附帶答案詳解
- 村衛(wèi)生室靜脈輸液規(guī)范和安全管理制度
- 供應(yīng)商大會(huì)總結(jié)報(bào)告
- JGJ127-2000 看守所建筑設(shè)計(jì)規(guī)范
- 名著閱讀(解析版)-2024年中考語文真題(江蘇專用)
- (高清版)JTG 6310-2022 收費(fèi)公路聯(lián)網(wǎng)收費(fèi)技術(shù)標(biāo)準(zhǔn)
- DZ∕T 0203-2020 礦產(chǎn)地質(zhì)勘查規(guī)范 稀有金屬類(正式版)
- 會(huì)議新聞寫作要求與技巧
- 聽評(píng)課方法與策略
- (正式版)QBT 8018-2024 熟制與生干核桃和仁
- 農(nóng)村商業(yè)銀行合規(guī)培訓(xùn)
評(píng)論
0/150
提交評(píng)論