24小时热门版块排行榜    

查看: 2050  |  回复: 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 的主题更新
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 313求调剂 +4 肆叁贰壹22 2026-03-19 4/200 2026-03-21 17:33 by ColorlessPI
[考研] 307求调剂 +3 余意卿 2026-03-18 3/150 2026-03-21 17:31 by ColorlessPI
[考研] 26考研一志愿中国石油大学(华东)305分求调剂 +6 嘉年新程 2026-03-15 6/300 2026-03-21 17:07 by Dream007008
[考研] 初试 317 +5 半拉月丙 2026-03-20 5/250 2026-03-21 16:51 by 棒棒球手
[考研] 279求调剂 +5 红衣隐官 2026-03-21 5/250 2026-03-21 14:59 by lature00
[考研] 机械专硕299求调剂至材料 +3 kkcoco25 2026-03-16 4/200 2026-03-21 03:52 by JourneyLucky
[考研] 323求调剂 +3 洼小桶 2026-03-18 3/150 2026-03-20 22:54 by JourneyLucky
[考研] 一志愿武汉理工材料工程专硕调剂 +9 Doleres 2026-03-19 9/450 2026-03-20 22:36 by JourneyLucky
[考研] 材料与化工 322求调剂 +4 然11 2026-03-19 4/200 2026-03-20 22:12 by luoyongfeng
[考研] 260求调剂 +3 朱芷琳 2026-03-20 3/150 2026-03-20 20:35 by 学员8dgXkO
[考研] 一志愿 南京航空航天大学大学 ,080500材料科学与工程学硕 +5 @taotao 2026-03-20 5/250 2026-03-20 20:16 by JourneyLucky
[考研] 求调剂 +3 @taotao 2026-03-20 3/150 2026-03-20 19:35 by JourneyLucky
[考研] 261求B区调剂,科研经历丰富 +3 牛奶很忙 2026-03-20 4/200 2026-03-20 19:34 by JourneyLucky
[考研] 298-一志愿中国农业大学-求调剂 +9 手机用户 2026-03-17 9/450 2026-03-20 14:24 by 无懈可击111
[考研] 286求调剂 +6 lemonzzn 2026-03-16 10/500 2026-03-19 14:31 by lemonzzn
[考研] 材料考研调剂 +3 xwt。 2026-03-19 3/150 2026-03-19 11:22 by w沐阳w
[考研] 0703化学调剂 +3 妮妮ninicgb 2026-03-17 3/150 2026-03-18 10:29 by macy2011
[考研] 材料专硕326求调剂 +6 墨煜姒莘 2026-03-15 7/350 2026-03-17 17:10 by ruiyingmiao
[论文投稿] 有没有大佬发小论文能带我个二作 +3 增锐漏人 2026-03-17 4/200 2026-03-17 09:26 by xs74101122
[考研] 0856求调剂 +3 刘梦微 2026-03-15 3/150 2026-03-16 10:00 by houyaoxu
信息提示
请填处理意见