matlab画邦加球,利用MATLAB,仿真偏振控制器(利用邦加球算法)

利用MATLAB,仿真偏振控制器(利用邦加球算法),验证固定偏振态到任意偏振态的转换,其结果布满整个邦加球-MATLAB simulation using polarimetric controller (with), fixed ball algorithm to any polarization transformation of polarization, and the result is full of whole nations plus the ball

clear

clc %QHQ

subplot(1,2,1)

[x,y,z]=sphere;

mesh(x,y,z);

xlabel('S1')

ylabel('S2')

zlabel('S3')

box on

colormap(bone);

hold on

%入射光

%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),'*') %画出入射光的偏振态位置

%各波片的方位角

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')

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值