Can someone help me to solve this equation?
1 次查看(过去 30 天)
显示 更早的评论
syms alpha
gamma = asin(k3 * sin(alpha)/k2);
delta_k = k1 + k2 * cos(gamma) - k3 * cos(alpha);
phi = delta_k* l_cry;
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%phase matching angle
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
eq0 = phi==0;
Alpha = solve (eq0, alpha);
Alpha = double(Alpha);
phaseMatchingAngle =Alpha; % [rad]
I get this error:
Warning: The solutions are parameterized by the symbols: x. To include parameters and conditions in the solution, specify the 'ReturnConditions' option.
> In solve>warnIfParams (line 510)
In solve (line 360)
In phaseMatchingNoncollAngle_uniaxial (line 24)
Warning: The solutions are valid under the following conditions: in(x, 'real') & (in((x + acos(100691026651348577645466123997729/101259576687255896431374526311264))/(2*pi),
'integer') & 0 <= (14308015215741192*cos(x))/3916498633832911 - 10615683778682338/3916498633832911 | in((x -
acos(100691026651348577645466123997729/101259576687255896431374526311264))/(2*pi), 'integer') & 0 <= (14308015215741192*cos(x))/3916498633832911 -
10615683778682338/3916498633832911). To include parameters and conditions in the solution, specify the 'ReturnConditions' option.
> In solve>warnIfParams (line 517)
In solve (line 360)
In phaseMatchingNoncollAngle_uniaxial (line 24)
Error using subsref
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Particle & Nuclear Physics 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!