Clear Filters
Clear Filters

How would I find the Eigen values and plot the Eigen vector onto my scatter plot

3 views (last 30 days)
X = 3 + 2*randn(500,1);
Y = 2*X + 4*randn(500,1);
for this code, first I tried to find the covarience by using
CoVar= cov(X,Y)
then to find the eign values and to plot the eigen vector what do I need to do?

Answers (1)

ANKUR KUMAR on 19 Mar 2021
Edited: ANKUR KUMAR on 19 Mar 2021
In order to find the eigen values, you need to have a matrix. You can plot eigen values of two matrix on a scatter plot.
eA = eig(A);
eB = eig(B);


Find more on Linear Algebra in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!