Open
Description
The vpasolve
function only returns one numerical solution out of N possible solutions to a polynomial equation. The SMT vpasolve
function says that it returns all possible numerical solutions when the input is a polynomial
For polynomial equations,
vpasolve
returns all solutions.
(from https://www.mathworks.com/help/symbolic/vpasolve.html)
An example given on the Matlab page is
S = vpasolve(2*x^4 + 3*x^3 - 4*x^2 - 3*x + 2 == 0, x)
and the solution should be a column vector of 4 solutions. Ours only returns one solution, which is arrived at by nsolve
based on an initial guess of 0.
Activity