Finding polynomial roots without normal form
Mostrar comentarios más antiguos
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.
Respuesta aceptada
Más respuestas (2)
Paulo Silva
el 11 de Ag. de 2011
0 votos
Walter Roberson
el 11 de Ag. de 2011
0 votos
What is your present representation for the polynomial, and how are you presently doing the substitution?
Categorías
Más información sobre Polynomials en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!