Can we calculate the roots of polynomials with matrix coefficients?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Dear All,
I have a polynomial which has matrix coefficients. For example, I have the following equation:
[1 0;0 1]*[x_1^2; x_2^2] + [2 0;0 2]*[x_1; x_2] + [1 0; 0 1] = [0; 0]
It is obvious that that solution is x_1 = -1; x_2 = -1.
But if the coefficient matrices are general, how can we obtain the solution in Matlab?
Thanks a lot.
Benson
2 Kommentare
the cyclist
am 30 Aug. 2019
When you say the coefficient matrices are "general", do you mean that they are not necessarily diagonal?
Antworten (1)
Nikhil Sonavane
am 6 Sep. 2019
You can use solve function to solve the system of equation in two variables. You may refer to its documentation for more information.
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!