Finding polynomial roots without normal form
Ältere Kommentare anzeigen
The roots(p) function finds polynomial roots given a vector of polynomial coefficients. However, I have encountered several problems where a polynomial of many variables is specified, but all of those variables except one is known and I need to solve for the roots in terms of the final variable. Rearranging all of the variables into coefficients of the remaining independent variable is tedious and sometimes error-prone.
Is there any way, without using the symbolic manipulation toolbox which I don't have, to identify the coefficients numerically after substitution of values for the known variables, and/or compute the roots of the function directly? Exact solutions preferred, but approximations would be nice to know about as well.
Akzeptierte Antwort
Weitere Antworten (2)
Paulo Silva
am 11 Aug. 2011
0 Stimmen
Walter Roberson
am 11 Aug. 2011
0 Stimmen
What is your present representation for the polynomial, and how are you presently doing the substitution?
Kategorien
Mehr zu Polynomials finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!