Azzera filtri
Azzera filtri

Error with eigenvalues (eig)

1 visualizzazione (ultimi 30 giorni)
Francisco
Francisco il 19 Ago 2015
Risposto: Steven Lord il 19 Ago 2015
I'm trying to calculate the left and right eigenvectors and eigenvalues of matrix. I use the syntax: [REvec,DD,LEvec] = eig(J); Which is correct according to the documentation. But I get the error: "Error using eig. Too many output arguments." My version is R2012b Any help?
  1 Commento
John D'Errico
John D'Errico il 19 Ago 2015
According to WHAT documentation? I don't think that syntax was available in R1012b.

Accedi per commentare.

Risposta accettata

Steven Lord
Steven Lord il 19 Ago 2015
The online documentation is for the most recent release and may include functions or functionality not present in your release. [Older documentation is also available online, but by default when you go to Documentation on the Support section of the website you see the current release's doc.]
EIG was enhanced to return left eigenvectors in release R2014a, as you can see by checking the Release Notes (item 3 in the Mathematics section.)

Più risposte (0)

Categorie

Scopri di più su Linear Algebra in Help Center e File Exchange

Prodotti

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by