MATLAB里求解三角函数方程

怎样求解三角函数的呢?应该运用哪些函数,程序怎么写呢?请求指导。

img

你好,joel为你解答:

alpha = 0;
beta = 0.3;
theta = 0.7;
r = theta + alpha;
f = @(n) sind(r) - n*(sind(2*beta)*sqrt(1-(sind(alpha)/n)^2)+cosd(2*beta)*sind(alpha)/n);
n  = fsolve(f, 1)%1是初值

结果为

n =

   1.166658965870305