I am trying to run the following algorithm, but it is not providing me the absolute answer as given in the link https://se​.mathworks​.com/help/​symbolic/s​olve-an-al​gebraic-eq​uation.ht

조회 수: 2 (최근 30일)
syms x
[solx, param, cond] = solve(cos(x) == -sin(x), x, 'ReturnConditions', true)

답변 (1개)

madhan ravi
madhan ravi 2018년 11월 22일
Use vpasolve() for numerical solution
syms x
solx = vpasolve(cos(x) == -sin(x), x)
  댓글 수: 1
HINA
HINA 2018년 11월 22일
편집: HINA 2018년 11월 22일
Thanks for your answer, but the problem is that I can just get one solution by using this command but I am looking for all the solutions for the given function. Check t5he following link
https://se.mathworks.com/help/symbolic/solve-an-algebraic-equation.html

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

카테고리

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

제품


릴리스

R2013a

Community Treasure Hunt

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

Start Hunting!

Translated by