Multiple eigen-values for 2x2 and 3x3 matrices
Version 2.1.0.0 (6.29 KB) by
Bruno Luong
Compute in one shot the eigen-values of multiples (3 x 3) matrices using Cardan's formula
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://nl.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 LinuxCategories
- MATLAB > Mathematics > Linear Algebra >
Find more on Linear Algebra in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Eig3Folder
| Version | Published | Release Notes | |
|---|---|---|---|
| 2.1.0.0 | Eigen vectors can be now computed.
|
||
| 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 |
