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?

Antworten (0)

Diese Frage ist geschlossen.

Gefragt:

am 11 Apr. 2017

Geschlossen:

am 20 Aug. 2021

Community Treasure Hunt

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

Start Hunting!

Translated by