hello professionals suggest MATLAB code for 2x2 polynomial symmetric matrix and their eigen value and eigen vectors

조회 수: 1 (최근 30일)
i command polynomial but it does not shown its polynomial matrix ,it has displayed only its coefficient matrix .i want direct its polynomial matrix and also its eigen value and eigen vectors in polynomial

답변 (1개)

Manish
Manish 2024년 10월 24일
Hi Nithya,
I understand that you're seeking a MATLAB code to generate a 2x2 polynomial symmetric matrix and calculate its eigenvalues and eigenvectors.
You can achieve the same with the following code:
syms x
a=1,b=3,c=3,d=2;
a = 1
b = 3
c = 3
A = [a*x + b, c*x; c*x, d*x + b]
[eigenVectors, eigenValues] = eig(A)
You can modify the equations in matrix ‘A’ based on your specific polynomials.
You can refer the link below for more information about ‘syms:
Hope this solves!

카테고리

Help CenterFile Exchange에서 Linear Algebra에 대해 자세히 알아보기

태그

제품


릴리스

R2013a

Community Treasure Hunt

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

Start Hunting!

Translated by