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
Updated 26 Mar 2021

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 (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2010a
Compatible with any release
Platform Compatibility
Windows macOS Linux
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

Eigen vectors can be now computed.
For dimension 3 it requires

Extend for 2x2 matrices

Extend to complex matrices as well

Speed improvement