Eigen Decomposition of Hermitian symmetric matrix using MATLAB Coder
Show older comments
I'm planning to implement the eig function as part of a MATLAB coder project.
The input matrix is complex, and Hermitian symmetric and positive definite.
My worry is about timing, how long the algorithm requires, since I'll be calling it a lot.
My assumption is that the C-code implementation will employ the "full-blown" eigen decompsition, without considering that the problem could simplified using the knowledge of the matrix properties. For example, all the eigen-values will be positive and real-valued.
I have not yet looked into BLAS or LAPACK, etc., to see of there is a special case of eig for symmetric, positive definite matrices.
Any ideas?
2 Comments
Bruno Luong
on 5 Jun 2022
Your decription is confused:
- Hermitian is not symmetric if the matrix is complex (not pure real).
- Symmetric is not positive in general, one cannot even speak about positiveness since x'*H*x is complex.
AJ
on 5 Jun 2022
Accepted Answer
More Answers (0)
Categories
Find more on Linear Algebra in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!