Znn3bq.jpeg
查看: 2064  |  回复: 0

Albert Feng

新虫 (初入文坛)

[求助] matlab非线性方程组数值求解(负双轴晶体非共线相位匹配角计算)

本人要计算BiBO晶体的非共线的相位匹配角,物理模型为一束泵浦光产生满足相位条件会产生两束子光束,其有一定的夹角。求泵浦光在晶体中的相位匹配角度。

本人主方程
clear all
clc
lambdap=0.39 %um
lambdai=0.78
lambdas=0.78
nxp=f(lambdap)
nxi=f(lambdai)
nxs=f(lambdai)
nyp=g(lambdap)
nyi=g(lambdai)
nys=g(lambdas)
nzp=h(lambdap)
nzi=h(lambdai)
nzs=h(lambdas)
alphaphi=0 %3/180*pi


syms alpha beta thetap phip thetas phis thetai phii thetapie
np=k(thetap,phip,lambdap);
ns=l(thetas,phis,lambdas);
ni=l(thetai,phii,lambdai);
eq0=thetap-pi/2-thetapie
eq1=phip-pi/2
eq2=2*np-cos(alpha)*ns-cos(beta)*ni
eq3=sin(alpha)*ns-sin(beta)*ni
eq4=ns*sin(alpha)-sin(alphaphi)
eq5=cos(thetas)+sin(thetapie)*cos(alpha)
eq6=cos(thetai)+sin(thetapie)*cos(beta)
eq7=tan(phii)*sin(beta)-cos(thetapie)*cos(beta)
eq8=tan(phis)*sin(alpha)+cos(alpha)*cos(thetapie)

[alpha,beta,thetap,phip,thetas,phis,thetai,phii,thetapie]=solve(eq0,eq1,eq2,eq3,eq4,eq5,eq6,eq7,eq8,alpha,beta,thetap,phip,thetas,phis,thetai,phii,thetapie)

调用函数:
function f=f(x)
%BiBO nx
f=sqrt(3.0740+0.0323/(x^2-0.0316)-0.01337*x^2);
end
%nx

function g=g(x)
%BIBO ny
g=sqrt(3.1685+0.0373/(x^2-0.0346)-0.01750*x^2);
end

function h=h(x)
%BIBO nz
h=sqrt(3.6545+0.0511/(x^2-0.0371)-0.0226*x^2);
end

function k=k(theta,phi,lambda)
kx=sin(theta)*cos(phi) ;
ky=sin(theta)*sin(phi);
kz=cos(theta);
nx=f(lambda);
ny=g(lambda);
nz=h(lambda);
a=nx^-2;
b=ny^-2;
c=nz^-2;
B=-(sin(theta)*cos(phi))^2*(b+c)-(sin(theta)*sin(phi))^2*(a+c)-(cos(theta))^2*(a+b);
C=(sin(theta)*cos(phi))^2*b*c+(sin(theta)*sin(phi))^2*a*c+(cos(theta))^2*a*b;
k=sqrt(2)/sqrt(-B-sqrt(B^2-4*C)) %慢光

function l=l(theta,phi,lambda)
kx=sin(theta)*cos(phi) ;
ky=sin(theta)*sin(phi);
kz=cos(theta);
nx=f(lambda);
ny=g(lambda);
nz=h(lambda);
a=nx^-2;
b=ny^-2;
c=nz^-2;
B=-(sin(theta)*cos(phi))^2*(b+c)-(sin(theta)*sin(phi))^2*(a+c)-(cos(theta))^2*(a+b);
C=(sin(theta)*cos(phi))^2*b*c+(sin(theta)*sin(phi))^2*a*c+(cos(theta))^2*a*b;
l=sqrt(2)/sqrt(-B+sqrt(B^2-4*C)) %e2-快光

解除来无解
可能不能用solve
回复此楼
Optical quantum information
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 Albert Feng 的主题更新
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[论文投稿] 急需审稿人!!! +3 陆小果画大饼 2026-04-21 3/150 2026-04-21 23:54 by jzy_123456
[考研] 一志愿A区211,22408 321求调剂 +7 随心所欲☆ 2026-04-15 8/400 2026-04-21 08:22 by Equinoxhua
[考研] 一志愿中科大材料与化工,353分还有调剂学校吗 +11 否极泰来2026 2026-04-15 13/650 2026-04-20 22:31 by Equinoxhua
[考研] 085600材料与化工调剂 5+3 孜孜不倦2002 2026-04-19 6/300 2026-04-20 21:25 by babero
[论文投稿] 期刊推荐 +3 材料研究生 2026-04-15 5/250 2026-04-20 16:02 by 豆豆7758
[教师之家] 又一批高校组建人工智能学院 师资行吗 不是骗人吗 +4 yexuqing 2026-04-19 4/200 2026-04-20 14:47 by brantleo
[考研] 337求调剂 +3 jyz04 2026-04-18 3/150 2026-04-20 12:24 by 研可安
[考博] 申博 +3 Xyyx. 2026-04-18 3/150 2026-04-20 10:44 by YuY66
[考博] 湖南大学刘巧玲课题组2026年第二批次博士研究生招生信息 +3 南风观火 2026-04-18 5/250 2026-04-20 10:13 by 南风观火
[考研] 求计算机方向调剂 +3 Toffee2 2026-04-16 6/300 2026-04-19 22:37 by ll叶
[考研] 294求调剂 +8 淡然654321 2026-04-17 9/450 2026-04-19 19:51 by Equinoxhua
[考研] 304求调剂 +8 castLight 2026-04-16 8/400 2026-04-19 17:14 by 中豫男
[考研] 求调剂 +10 小聂爱学习 2026-04-16 12/600 2026-04-19 16:51 by 中豫男
[考研] 求调剂 +6 苦命人。。。 2026-04-18 7/350 2026-04-19 16:27 by 中豫男
[考研] 0854求调剂 +23 门路摸摸 2026-04-15 27/1350 2026-04-19 01:59 by 烟雨流涯
[考研] 300求调剂 +12 橙a777 2026-04-15 12/600 2026-04-18 23:51 by 路病情
[考研] 接受任何调剂 +6 也就是栗子 2026-04-17 7/350 2026-04-18 17:20 by 涵竹刘
[考研] 收到复试调剂但是去不了 +8 小蜗牛* 2026-04-16 8/400 2026-04-18 11:15 by zixin2025
[考研] 260求调剂 +4 Zyt1314520.. 2026-04-17 5/250 2026-04-18 08:28 by babysonlkd
[有机交流] 二苯甲酮酸类衍生物 50+3 小白爱主人 2026-04-17 6/300 2026-04-17 18:47 by kf2781974
信息提示
请填处理意见