Filter löschen
Filter löschen

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

1 Ansicht (letzte 30 Tage)
syms x
[solx, param, cond] = solve(cos(x) == -sin(x), x, 'ReturnConditions', true)

Antworten (1)

madhan ravi
madhan ravi am 22 Nov. 2018
Use vpasolve() for numerical solution
syms x
solx = vpasolve(cos(x) == -sin(x), x)
  1 Kommentar
HINA
HINA am 22 Nov. 2018
Bearbeitet: HINA am 22 Nov. 2018
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

Melden Sie sich an, um zu kommentieren.

Produkte


Version

R2013a

Community Treasure Hunt

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

Start Hunting!

Translated by