필터 지우기
필터 지우기

generalized eignvalues/eignvectors

조회 수: 2 (최근 30일)
MA
MA 2020년 9월 4일
댓글: MA 2020년 9월 5일
I want to solve the following generalized eignvalues/eignvector problem:
A*w=D*B*w
Where A is my first square matrix and B my second one, D is the eignvalues and w contains the eignvectors.
I tried to look at https://www.mathworks.com/help/matlab/ref/eig.html#d120e309738 but I did not get the same form I want.
is it just enough to state my problem as the following:
[w,D]=eig(A,B)
or there is another solution. Any suggestion? Thanks very much
  댓글 수: 3
David Goodmanson
David Goodmanson 2020년 9월 5일
Hello MA,
For the w matrix, one finds column eigenvectors, each with its own eigenvalue, and concatenates them to produce w. Is it the case that for each eigenevector u and its associated eigenvalue lambda, you are solving the equation
A*u = lamda*B*u?
Because if so, the correct resulting equation is
A*w = B*w*D
where D is the diagonal matrix of eigenvalues, and it multiplies on the right. You obtain the generalized eigenvalue form that is solved by Matlab.
Bruno Luong
Bruno Luong 2020년 9월 5일
편집: Bruno Luong 2020년 9월 5일
The left eigen vectors
w'A= lamdda*w'*B % marix equation: W'*A = D*W'*B
can also be returned by MATLAB with 3-output syntax of EIG
[~,D,W] = eig(A,B)
w is columns of W, lambda diagonal elements of D.
Note that both left/right can be also obtained by Schur's decomposition with MATLAB QZ, but this is another topic.

댓글을 달려면 로그인하십시오.

답변 (1개)

Asad (Mehrzad) Khoddam
Asad (Mehrzad) Khoddam 2020년 9월 4일
If you multiply both sides by inv(D) we will have:
B*w = inv(D) * A * B
So you can use:
[w, invD] = eig(B, A);
D = inv(InvD);
  댓글 수: 3
Asad (Mehrzad) Khoddam
Asad (Mehrzad) Khoddam 2020년 9월 5일
Yes, you are right
MA
MA 2020년 9월 5일
Thanks for your answers.

댓글을 달려면 로그인하십시오.

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by