24小时热门版块排行榜    

查看: 2125  |  回复: 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 的主题更新
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[基金申请] 欢迎发来filecode的Mz6后的代码验证其规律 +46 医学老男孩 2026-08-13 102/5100 2026-08-18 14:41 by qinwangshen
[基金申请] 重要消息,中午系统在维护 +5 yuleib84 2026-08-18 6/300 2026-08-18 14:34 by 阿荣喝酒
[基金申请] 时间戳又变了8-15 +14 archvillain 2026-08-15 26/1300 2026-08-18 13:37 by phantomgost
[硕博家园] 售SCI-T0P文章,我:8O.5.5.1.O.54,科目齐全,可+急 +3 KZyU1THERRVo 2026-08-18 4/200 2026-08-18 13:28 by vHWVV9D5Deb5
[基金申请] 今天维护系统维护 祝所有人 高中 +8 gjjjzhong 2026-08-18 9/450 2026-08-18 13:01 by 家与远方
[基金申请] 哪位老哥知道今年的国自然具体哪一天放榜? +13 Ldrop2023 2026-08-13 16/800 2026-08-18 12:25 by 淀粉搬运工
[基金申请] 2027广东省杰青 +3 奶牛小黑 2026-08-15 8/400 2026-08-18 11:47 by gltch
[基金申请] 快农历七夕节了,轻松一下,男人悄悄话,女施主请不要进来。 +4 Tide man 2026-08-14 5/250 2026-08-18 11:35 by Tide man
[论文投稿] 投稿咨询 +4 wwm09 2026-08-17 5/250 2026-08-18 11:25 by 無關想念
[基金申请] 93BebMhtakh前后11位开头都是大写 +4 且听虎啸 2026-08-17 5/250 2026-08-18 00:49 by 蔡棒棒菂
[基金申请] 感觉是下周放榜了 +6 angus9576 2026-08-17 11/550 2026-08-17 23:57 by angus9576
[基金申请] filecode=后面第一个是大写字母 +8 wangze12014 2026-08-14 10/500 2026-08-17 17:05 by xter9665
[基金申请] 今天系统多次维护,明天很可能放榜! +8 zju2000 2026-08-16 9/450 2026-08-17 12:20 by lmz0216
[基金申请] 咱们一起用铁证分析2026国家社科基金中标与否 +7 启萌科技 2026-08-12 26/1300 2026-08-16 12:35 by 启萌科技
[精细化工] 招聘 金属平磨液,抛光液研发工程师 +3 小天0311 2026-08-14 3/150 2026-08-16 07:31 by H9PLUS
[基金申请] 各位道友,我要去昆明玩几天,回来见。 +7 Tide man 2026-08-14 8/400 2026-08-15 01:11 by arzu_hma
[基金申请] 重要来源:本周末出结果 +10 瞬息宇宙 2026-08-12 10/500 2026-08-13 15:46 by likettle
[基金申请] Filecode 又变了,巨变 +3 WH3796 2026-08-12 4/200 2026-08-13 14:13 by 小木虫6752397
[基金申请] 结合人工智能,周易传统文化,filecode打分制来了,3分以上希望很大。 +3 Tide man 2026-08-12 4/200 2026-08-13 08:35 by ZJTJZ
[基金申请] 2019年青年基金涵评意见,大家看看几个A,几个B? +11 Tide man 2026-08-11 11/550 2026-08-13 07:35 by 撸猫猫
信息提示
请填处理意见