Can we calculate the roots of polynomials with matrix coefficients?
조회 수: 2 (최근 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
2019년 8월 30일
When you say the coefficient matrices are "general", do you mean that they are not necessarily diagonal?
답변 (1개)
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.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Polynomials에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!