Code covered by the BSD License  

Highlights from
Multiple eigen-values for 2x2 and 3x3 matrices

5.0

5.0 | 2 ratings Rate this file 10 Downloads (last 30 days) File Size: 4.73 KB File ID: #27680

Multiple eigen-values for 2x2 and 3x3 matrices

by Bruno Luong

 

20 May 2010 (Updated 27 May 2010)

Compute in one shot the eigen-values of multiples (3 x 3) matrices using Cardan's formula

| Watch this File

File Information
Description

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

MATLAB release MATLAB 7.10 (2010a)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (2)
26 Jul 2010 Jeff Evans

Excellent. Much faster than running eig in a for loop. Thanks!

11 Sep 2011 Andrey

Excellent submission! Saved me a lot of coding time.

Please login to add a comment or rating.
Updates
20 May 2010

Speed improvement

21 May 2010

Extend to complex matrices as well

27 May 2010

Extend for 2x2 matrices

Tag Activity for this File
Tag Applied By Date/Time
eigenvalues Bruno Luong 20 May 2010 13:10:25
cardan formula Bruno Luong 20 May 2010 13:10:26
3x3 matrices Bruno Luong 20 May 2010 13:10:26
2x2 matrices Bruno Luong 27 May 2010 11:43:33

Contact us at files@mathworks.com