![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/556197/image.jpeg)
How would I find the Eigen values and plot the Eigen vector onto my scatter plot
8 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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?
0 Commenti
Risposte (1)
ANKUR KUMAR
il 19 Mar 2021
Modificato: ANKUR KUMAR
il 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.
A=randi(50,15,15);
B=randi(50,15,15);
eA = eig(A);
eB = eig(B);
scatter(eA,eB,'ro')
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/556197/image.jpeg)
0 Commenti
Vedere anche
Categorie
Scopri di più su Scatter Plots in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!