Generalized Eigenvalue Problem - Hessenberg Matrix
显示 更早的评论
Greetings,
I am dealing with a generalized eignevalue problem
which I need to solve every time-step.
Although I used the Matlab function eigs, the computation is still expensive since I need to generate a large sparse matrix A and apply boundary conditions.
Now I am trying to implement the Arnoldi iteration, this way I do not have to create the matrix A, since we are only interested in the action of A on the vector v.
My questions are:
Will I be treating the Hessenberg matrix as my new A, i.e. applying boundary conditions to it and using it to solve for the desired eigenvalues and eigenvectors? As far as I know, H is a projection of A and its eigenvalues are related to the eigenvalues of A.
Furthermore, if I have to solve for H, can I use gsvd to target a specific eigenvalue and its corresponding eigenvector like I do with eigs? (H is not a square matrix so I am unable now to use eig or eigs)
Lastly, how do I go about the fact that the eigenvectors of H have a different size (less) than my initial matrix A or the eigenvectors obtained from it?
Any insight regarding any of my questions is highly appreciated.
Jack
采纳的回答
更多回答(1 个)
Steven Lord
2020-11-25
0 个投票
It sounds like you might want to use the syntax of eigs whose first input is Afun, a function handle that returns the result of certain operations based on the other parameters. See the section of the documentation page for eigs that discusses the Afun input for more information.
类别
在 帮助中心 和 File Exchange 中查找有关 Linear Algebra 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!