How would I find the Eigen values and plot the Eigen vector onto my scatter plot
4 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
回答 (1 件)
ANKUR KUMAR
2021 年 3 月 19 日
編集済み: ANKUR KUMAR
2021 年 3 月 19 日
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')
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Scatter Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!