roots function algorithm basis
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Estanislao Gavilan Pascual Ahuir
am 8 Aug. 2017
Beantwortet: Neil Guertin
am 11 Aug. 2017
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 Kommentare
Antworten (1)
Neil Guertin
am 11 Aug. 2017
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 Kommentare
Siehe auch
Kategorien
Mehr zu Polynomials finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!