5.0

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

Multiple eigen-values for 2x2 and 3x3 matrices

by

 

20 May 2010 (Updated )

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 (R2010a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (2)
11 Sep 2011 Andrey

Excellent submission! Saved me a lot of coding time.

26 Jul 2010 Jeff Evans

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

Updates
20 May 2010

Speed improvement

21 May 2010

Extend to complex matrices as well

27 May 2010

Extend for 2x2 matrices

Contact us