How to solve this equation in matlab?

9 ビュー (過去 30 日間)
Stanley Cheng
Stanley Cheng 2015 年 8 月 24 日
コメント済み: Muhammad Uzair 2022 年 11 月 29 日
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.
  1 件のコメント
Muhammad Uzair
Muhammad Uzair 2022 年 11 月 29 日
great! Helped a lot

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeNumber Theory についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by