How to plot rows of matrix as pont in number of column dimensions
1 回表示 (過去 30 日間)
古いコメントを表示
Hello!
I have a matrix U with dimensions n by k.
is there a way to plot the n rows as n point in k dimentions ?
or away to plot all 2D combinations of the k dimensions ?
0 件のコメント
回答 (1 件)
Sulaymon Eshkabilov
2019 年 5 月 7 日
plot(1:n, U);
% or a bit fancier but slower way
for ii = 1:n
plot(1:n, U(ii, 1:k)), hold all
end
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!