{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

ECN437Computing Eigenvalues Using Software Packages

# ECN437Computing Eigenvalues Using Software Packages -...

This preview shows pages 1–2. Sign up to view the full content.

ECN437 Computing Eigenvalues Using Software  Packages Here are a few examples showing how eigenvalues are computed in various  software packages. Most packages will also return the eigenvectors, if  requested. Using Ox: #include main() { decl a,eigs; a = <1, 2; 3, 4>; // Compute the eigenvalues and store them in eigs. // needed so that Ox can use eigs to return the

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: eigenvalues. eigen( a, &eigs ); print( eigs ); } Using Gauss: let x[2,2] = {1 2,3 4}; eig(x); Using Maple: # This line activates the linear algebra package. It produces two # messages about norm and trace being redefined, which is OK. with(linalg): # # Create a matrix # a:=matrix( [ [1,2],[3,4] ] ); # # Calculate its eigenvalues # b:=eigenvals(a); # # Exit from maple # quit;...
View Full Document

{[ snackBarMessage ]}

### Page1 / 2

ECN437Computing Eigenvalues Using Software Packages -...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online