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개)
Neil Guertin
2017년 8월 11일
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.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Polynomials에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!