Back to Polynomial Functions
polyfromroots
Construct power series from roots
Syntax
c = polyfromroots(r)
Description
Constructs a power series polynomial from its roots.
Parameters
| Name | Description |
|---|---|
| r | Array of roots |
Returns
Coefficient array in ascending order
Examples
Try It
>> polyfromroots([1 -1])