Inverted signs using eig function... again

Hi everyone. I know this is a very popular question and I've read a few questions about it but I can't understand much mathematical/matlab jargon so I'm trying to ask again.
Basically I have two 3x3 matrices, K and M. And I'm using the following:
[V,G]=eig(K,M)
...to find the eigenvectors and plot them with one varying variable used in K. And I got this graph attached below.
Obviously you can see a part of the graph has been put a negative sign. Thus I have no idea on how to invert it back.
I've found the 'eigenshuffle' function provided in one of the threads here(<http://www.mathworks.com/matlabcentral/fileexchange/22885-eigenshuffle>) but I can't get generalized eigenvectors(?). As in I cannot have two input matrices K and M as I have before.

回答(1 个)

John D'Errico
John D'Errico 2020-6-5
编辑:John D'Errico 2020-6-5
I've posted a new version of eigenshuffle to handle generalized eigenvalues.
Far to late for the answer to be useful to you. Sorry about the delay.

类别

在 帮助中心 和 File Exchange 中查找有关 Mathematics 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by