how to plot columns of two matrices against each other?
조회 수: 28 (최근 30일)
이전 댓글 표시
I have 2 matrices defined which are (41 x 7) and i want to plot the first first column of eacg against each other, the second column of each against each other and so on until there are 7 lines on the one graph, is this possible?
댓글 수: 0
답변 (1개)
KALYAN ACHARJYA
2021년 11월 14일
편집: KALYAN ACHARJYA
2021년 11월 14일
mat1=...
mat2=...
for i=1:7
plot(mat1(:,i),mat2(:,i));
hold on;
end
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!