# roots

Compute the roots of a polynomial.

## Syntax

r = roots(v)

## Inputs

`v`- A real vector.

## Outputs

- r
- The roots of the polynomial.

## Example

`r = roots([1,-9,26,-24])`

```
r = [Matrix] 3 x 1
4.00000
3.00000
2.00000
```

Compute the roots of a polynomial.

r = roots(v)

`v`- A real vector.

- r
- The roots of the polynomial.

`r = roots([1,-9,26,-24])`

```
r = [Matrix] 3 x 1
4.00000
3.00000
2.00000
```