How to solve this equation in matlab?

1 Ansicht (letzte 30 Tage)
Stanley Cheng
Stanley Cheng am 24 Aug. 2015
Kommentiert: Muhammad Uzair am 29 Nov. 2022
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

Akzeptierte Antwort

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

Weitere Antworten (0)

Kategorien

Mehr zu Mathematics finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by