Skip to content

vpasolve only returns one solution for polynomial equations #996

Open
@mtmiller

Description

@mtmiller

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions