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.
roots function algorithm basis
1 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Polynomials 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!