| 查看: 2038 | 回复: 0 | ||
[求助]
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 |
» 猜你喜欢
深圳大学2026年秋博士招生-物理学-活性胶体方向-高永祥课题组
已经有18人回复
论物质与能量的统一模型及物理现象解释
已经有0人回复
物理学I论文润色/翻译怎么收费?
已经有268人回复
基于基元I统一理论的数学相关应用推导
已经有0人回复
基元I统一理论:宇宙本质、层级演化与修炼文明的本源规律
已经有1人回复
基元I理论下三大核心空间现象精准推导与细节解析
已经有0人回复
基于基元 I 统一理论的反重力理论推导
已经有0人回复
基于基元I统一理论的量子力学本源推导
已经有1人回复
推荐一款可以AI辅助写作的Latex编辑器SmartLatexEditor,超级好用,AI润色,全免费
已经有20人回复
【EI|Scopus 双检索】第六届智能机器人系统国际会议(ISoIRS 2026)
已经有0人回复
2026年第四届电动车与车辆工程国际会议(CEVVE 2026)
已经有0人回复














回复此楼