Using linsolve for eigenvector calculation



Hi,

As a small part of an assignment i have been asked to calculate the
eigenvectors of a 5*5 matrix associated with its largest eigenvalue
using the characteristic polynomial for the values and the resulting
system of linear equations for the vectors.

I have the value of the largest eigenvalue in a variable lm and the
matrix is S. So i created a new symbolic vector X = [1;x1;x2;x3;x4]
and i want to use linsolve to find the solution.

linsolve(S,(lm*X)) was what i thought i had to use but it isnt
working.

Apologies im fairly new to matlab so im clearly completely missing
the point with linsolve :)

Thanks for any help
Dave
.



Relevant Pages

  • Re: Similarity of a matrix to a symmetric matrix
    ... Thomas Foregger wrote: ... > of characteristic not 2 is similar to a symmetric matrix. ... I must be missing something, ... Note that A has the repeated eigenvalue 1. ...
    (sci.math.research)
  • Real symmetric generalized eigenvalue problem
    ... symmetric square matrices, x is the eigenvector, and e is the eigenvalue, ... generalized eigenvalue problem to have real eigenvalues. ... What am I missing? ...
    (sci.math)
  • Generalized Eigenvalue Problem
    ... I'm trying to find smallest eigenvalue of A & B matrices by ... solving using eigcommand. ... pretty sure that it's missing some of the smaller eigenvalues. ...
    (comp.soft-sys.matlab)