How to solve this equation in matlab?

4 次查看(过去 30 天)
Can anyone teach me how to solve this equation in Matlab? Thanks so much!
syms a b c theta
a*sin(theta) + b*cos(theta) = c

采纳的回答

Torsten
Torsten 2015-8-24
syms theta a b c
eqn = a*sin(theta)+b*cos(theta) == c;
soltheta = solve(eqn,theta)
Best wishes
Torsten.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Programming 的更多信息

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by