# roots

Version:

Computes the roots of a polynomial.

## Syntax

c = roots(a)

## a

Coefficients in descending order of power of the polynomial whose roots you want to compute. a is a real or complex vector.

## c

Roots of a. c is a vector of real or complex numbers.

A = [5, 4, 3, 2, 1];
C = roots(A)

Where This Node Can Run:

Desktop OS: Windows

FPGA: This product does not support FPGA devices