Plotting Eigen vectors

I have a real symetric matrix A
>> A=[1 7 3;7 4 -5;3 -5 6];
I found its eigen vectors
>> [Evec,Eval]=eig(A);
I want to plot eigen vectors in 3D.
so that I have written like this
vlabs={'X ','Y ','Z '};
biplot(7*EVec(:,1:end),'varlabels',vlabs)
% I scaled to 7 look bigger vectors
Is this the write way? Is there any way to plot eigen vectors better?

4 Kommentare

bym
bym am 27 Sep. 2011
Your syntax biplot(7*Evec(:,1:end),'varlabels',vlabs) could just as easily be biplot(7*Evec,'varlabels',vlabs)
Jan
Jan am 27 Sep. 2011
What is "better"?
Raviteja
Raviteja am 28 Sep. 2011
Tell me finally, is my code to draw eigen vectors is correct ?
Any other method ?
KSSV
KSSV am 13 Jan. 2012
I think it depends what for are the Eigenvalues. What Eigen value analysis it is?

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Polar Plots finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 27 Sep. 2011

Community Treasure Hunt

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

Start Hunting!

Translated by