MATLAB Answers

How to plot rows of matrix as pont in number of column dimensions

조회 수: 1(최근 30일)
Nora Khaled
Nora Khaled 6 May 2019
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

로그인 to comment.

답변 수 (1)

Sulaymon Eshkabilov
Sulaymon Eshkabilov 7 May 2019
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

로그인 to comment.

이 질문에 답변하려면 로그인을(를) 수행하십시오.


Translated by