24小时热门版块排行榜    

Znn3bq.jpeg
查看: 2062  |  回复: 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 的主题更新
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 327求调剂 +25 Xxjc1107. 2026-04-13 27/1350 2026-04-15 23:22 by Equinoxhua
[考研] 求调剂 +11 小聂爱学习 2026-04-11 15/750 2026-04-15 21:57 by noqvsozv
[考研] 297,工科调剂? +10 河南农业大学-能 2026-04-14 10/500 2026-04-15 21:50 by noqvsozv
[考研] 材料工程281还有调剂机会吗 +43 xaw. 2026-04-11 44/2200 2026-04-15 12:46 by 西北望—风沙
[考研] 药学305求调剂 +10 玛卡巴卡boom 2026-04-10 10/500 2026-04-14 15:55 by zs92450
[考研] 一志愿沪9,326求生物学调剂 +10 刘墨墨 2026-04-13 10/500 2026-04-14 15:16 by zs92450
[考研] 305求调剂 +8 玛卡巴卡boom 2026-04-11 8/400 2026-04-14 09:04 by pengliang8036
[考研] 300分求调剂 (085501机械专硕,本科扬大) +9 xu@841019 2026-04-11 10/500 2026-04-14 08:48 by 木木mumu~
[考研] 一志愿中南大学 0855 机械 286 求调剂 +11 不会吃肉 2026-04-12 11/550 2026-04-13 21:59 by bljnqdcc
[考研] 一志愿西交机械专硕求调剂 +9 求上岸的小王 2026-04-10 9/450 2026-04-13 16:08 by jiangguiquan11
[考研] 2本,初试303,0860求调剂 +6 floriea 2026-04-12 8/400 2026-04-12 18:13 by zhouxiaoyu
[考研] 化工调剂求导师收留!一志愿失利,踏实肯干,有植物提取科研经历 +20 yzyzx 2026-04-09 21/1050 2026-04-12 00:12 by 小小小小啦啦啦
[考研] 277 数一104,学硕,求调剂 +21 瓶子PZ 2026-04-09 23/1150 2026-04-11 23:12 by labixiaoqiao
[考研] 297求调剂 +9 Kwgyz 2026-04-09 9/450 2026-04-11 10:09 by zhq0425
[考研] 346,工科求调剂 +3 moser233 2026-04-09 3/150 2026-04-11 10:04 by zhq0425
[考研] 中药学调剂 初试324 +4 洋甘菊、 2026-04-10 6/300 2026-04-11 09:41 by gong120082
[考研] 调剂 +12 卷卷卷心菜_ 2026-04-09 13/650 2026-04-10 22:36 by Ftglcn90
[考研] 284求调剂 +9 让我上岸吧阿西 2026-04-09 11/550 2026-04-10 19:18 by 靖jing
[考研] 一志愿京区985,085401电子信息,本科电子信息 +3 阳光开朗的男孩 2026-04-10 3/150 2026-04-10 16:29 by sophia_93
[考研] 332,085601求调剂 +12 ydfyh 2026-04-09 14/700 2026-04-09 17:28 by wp06
信息提示
请填处理意见