When I try to implement the example for solve, x is returned

When I try to implement the example for solve in the Matlab Documentation I get solx = x, rather than solx = pi/2 like in the documentation.
syms x
eqn = sin(x) == 1;
solx = solve(eqn,x)
Also, maybe unrelated, but I do have the symbolic toolbox, but vpasolve is undefined when I try to use it. I have R2016b, is the command a new one?

Réponses (0)

Cette question est clôturée.

Question posée :

le 11 Avr 2017

Clôturé :

le 20 Août 2021

Community Treasure Hunt

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

Start Hunting!

Translated by