Can we calculate the roots of polynomials with matrix coefficients?

1 次查看(过去 30 天)
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 个评论
the cyclist
the cyclist 2019-8-30
When you say the coefficient matrices are "general", do you mean that they are not necessarily diagonal?
Benson Gou
Benson Gou 2019-8-30
Yes, the coefficient matrces are Not necessraily diagonal matrices. Those matrices could be a very gerneal matrix. However, all of them are square matrices.
Thanks a lot.
Benson

请先登录,再进行评论。

回答(1 个)

Nikhil Sonavane
Nikhil Sonavane 2019-9-6
You can use solve function to solve the system of equation in two variables. You may refer to its documentation for more information.

类别

Help CenterFile Exchange 中查找有关 Polynomials 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by