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?

Respuestas (0)

La pregunta está cerrada.

Etiquetas

Preguntada:

el 11 de Abr. de 2017

Cerrada:

el 20 de Ag. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by