Multiple eigen-values for 2x2 and 3x3 matrices

Compute in one shot the eigen-values of multiples (3 x 3) matrices using Cardan's formula
1.8K Downloads
Updated Fri, 26 Mar 2021 07:20:30 +0000

View License

Note that this function do not return EIGEN VECTORS.

This function is faster than looping on EIG when eigenvalues must be computed for a large number of matrices. The test shows it can speed up by 10 times

Cite As

Bruno Luong (2024). Multiple eigen-values for 2x2 and 3x3 matrices (https://www.mathworks.com/matlabcentral/fileexchange/27680-multiple-eigen-values-for-2x2-and-3x3-matrices), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2010a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Linear Algebra in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
2.1.0.0

Eigen vectors can be now computed.
For dimension 3 it requires https://www.mathworks.com/matlabcentral/fileexchange/68976-multipleqr

1.3.0.0

Extend for 2x2 matrices

1.2.0.0

Extend to complex matrices as well

1.1.0.0

Speed improvement

1.0.0.0