roots function algorithm basis
Mostrar comentarios más antiguos
Dear Community,
I am trying to understand how works root(P), being P a polynomial. As far as I know, MATLAB uses the companion matrix of P and after it uses QR factorization to get the roots. However, I do not know which QR factorization method it uses. Is it householder QR method?
Thanks so much for your help,
Estanis
Respuestas (1)
Neil Guertin
el 11 de Ag. de 2017
0 votos
According to the documentation, "The roots of the polynomial are calculated by computing the eigenvalues of the companion matrix". Eigenvalues are calculated using LAPACK functions.
Categorías
Más información sobre Polynomials en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!