我可以求解方程组以获得“q”的精确值:
[A,B,C,Y]= solve('825*cos(A)+792*cos(B)-446.687*cos(C)=187.069','825*sin(A)+792*sin(B)-446.687*sin(C)=694.126','446.687*cos(C)-280.446*cos(2.778+B)=550','446.687*sin(C)-280.446*sin(2.778+B)=Y')
但我需要根据变量 q=121:10:501 的解决方案:
[A,B,C,Y]= solve('(q+704)*cos(A)+792*cos(B)-446.687*cos(C)=187.069','(q+704)*sin(A)+792*sin(B)-446.687*sin(C)=694.126','446.687*cos(C)-280.446*cos(2.778+B)=550','446.687*sin(C)-280.446*sin(2.778+B)=Y')