필터 지우기
필터 지우기

How to solve equation contains sin and cos?

조회 수: 1 (최근 30일)
Abdulaziz Abutunis
Abdulaziz Abutunis 2016년 3월 3일
댓글: Star Strider 2016년 3월 3일
Hello MATLAB experts,
I am seeking you assistance in solving an equation that has sin and cos. The equation and the commands and the resulted error are as follow
syms a b solve((350+1-((a*0.984807753012208)+(b*cosd(asind(((a*0.173648177666930))/b))))),b) ??? Error using ==> asind at 15 Argument should be real.
Thanks in advance, Aziz

채택된 답변

Star Strider
Star Strider 2016년 3월 3일
The cosd function does not exist in the Symbolic Math Toolbox.
Try this:
syms a b
b_solved = solve((350+1-((a*0.984807753012208)+(b*cos(asin(((a*0.173648177666930))/b))))),b);
  댓글 수: 2
Abdulaziz Abutunis
Abdulaziz Abutunis 2016년 3월 3일
Thank you Star. you are right
Star Strider
Star Strider 2016년 3월 3일
My pleasure.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by