MATLAB Answers

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

1 view (last 30 days)
Ellie
Ellie on 11 Apr 2017
Edited: Ellie on 11 Apr 2017
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?

Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by