help eig?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

help eig?

vicnorton
octave> help eig

'eig' is a built-in function from the file libinterp/corefcn/eig.cc

 -- LAMBDA = eig (A)
 -- LAMBDA = eig (A, B)
 -- [V, LAMBDA] = eig (A)
 -- [V, LAMBDA] = eig (A, B)
 -- [V, LAMBDA, W] = eig (A)
 -- [V, LAMBDA, W] = eig (A, B)
 -- [...] = eig (A, BALANCEOPTION)
 -- [...] = eig (A, B, ALGORITHM)
 -- [...] = eig (..., EIGVALOPTION)
     Compute the right eigenvalues(V) and optionally the
     eigenvectors(lambda) and the left eigenvalues(W) of a matrix or a
     pair of matrices.

...

comment: someone needs to rewrite this "help" description. When
   [V, LAMBDA] = eig (A);
V contains the eigenvectors of A and LAMBDA contains the eigenvalues.


_______________________________________________
Help-octave mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-octave
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: help eig?

Mithil
[v,LAMBDA] = eig(A)

returns v and LAMBDA

where v contains the eigenvectors of A and LAMBDA is a diagonal matrix of eigenvalues of A.

see this link : https://in.mathworks.com/help/matlab/ref/eig.html
Loading...