Skip to main content
Mail a PDF copy of this page to:
(Your email address will not be added to a mailing list)
Show menu

EIG matrix function


EIG(A[,v]) returns the Eigenvalues of matrix A. Optionally, the eigenvectors are stored in the workspace variable v.

Workspace variables

The value of a workspace variable is not stored in the spreadsheet, but in a separate memory space. The workspace variable name cannot be equal to a spreadsheet cell address (such as A1 or DC12), a spreadsheet function, or to a reserved word. In addition, it cannot contain a space or a character from the reserved character set: - + / * = < > # & @ $ | ^ : , ; . ( ) ' " [ ] { }.


In the following example:

Calculation of Eigenvalues and Eigenvectors in MedCalc




MedCalc file Eigenvalues.mc1

See also

Recommended book

Book cover

Matrix Algebra Useful for Statistics
Shayle R. Searle, Andre I. Khuri

Buy from Amazon

This book addresses matrix algebra that is useful in the statistical analysis of data as well as within statistics as a whole. The material is presented in an explanatory style rather than a formal theorem-proof format and is self-contained.