How to solve this equation in matlab?

조회 수: 2 (최근 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.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Mathematics에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by