help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: nonzero eigenvalues


From: James Sherman Jr.
Subject: Re: nonzero eigenvalues
Date: Sat, 6 Sep 2014 12:49:58 -0400



On Sat, Sep 6, 2014 at 8:36 AM, george brida <address@hidden> wrote:
Dear Octavers,
if we have a p*p matrix V having r nonzero eigenvalues with r less than p. How can we write a program in which we put these r eigenvalues in a diagonal matrix R (of format r*r) and we put the corresponding eigenvectors (to these r eigenvalues) in a matrix P?
Many thanks in advance.
George

_______________________________________________
Help-octave mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/help-octave


Hi George,

Have you looking into the eigs function?  I think that'll do exactly what you want.

James Sherman

reply via email to

[Prev in Thread] Current Thread [Next in Thread]