Can anyone suggest a method to convert a univariate polynomial of degree n into a n x n matrix? For example, the polynomial 1 + x^2 + x^3 + x^4 + x^5 converts to [0 0 0 0 1; 1 0 0 0 0; 0 1 0 0 1; 0 0 1 0 1; 0 0 0 1 1], and the polynomial 1 + x^2 + x^5 to [0 1 1 1 1; 0 0 1 1 1; 1 1 1 0 0; 0 0 0 0 1; 1 1 1 1 1]. I cannot make out how this is done. Any leads appreciated.(adsbygoogle = window.adsbygoogle || []).push({});

**Physics Forums - The Fusion of Science and Community**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Plynomial to matrix conversion

Loading...

Similar Threads for Plynomial matrix conversion | Date |
---|---|

A Eigenvalues and matrix entries | Tuesday at 7:09 AM |

A Badly Scaled Problem | Apr 6, 2018 |

I Adding a matrix and a scalar. | Mar 31, 2018 |

B How does matrix non-commutivity relate to eigenvectors? | Mar 28, 2018 |

Converse of Lagrange's Theorem for groups | Sep 18, 2015 |

**Physics Forums - The Fusion of Science and Community**