Finding eigen vector using sym and solve

I am trying to find eigenvectors using the sym and solve functions: However solve only returns answers the all zero vector.
%
G = [6 -1; 2 3];
I = eye(2,2);
xx = sym('xx',[2,1]);
% eigenvalues are 5 and 4
eigvec = solve(G*xx==4*xx);

Antworten (1)

Azzi Abdelmalek
Azzi Abdelmalek am 29 Apr. 2016

0 Stimmen

G = [6 -1; 2 3];
I = eye(2,2);
syms x
eigvec = solve(det(G-x*I)==0)

Kategorien

Mehr zu Mathematics finden Sie in Hilfe-Center und File Exchange

Tags

Gefragt:

PA
am 29 Apr. 2016

Beantwortet:

am 29 Apr. 2016

Community Treasure Hunt

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

Start Hunting!

Translated by