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

You are now following this Submission

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 (2026). 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 .

Categories

Find more on Linear Algebra in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
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