how can plot a matix?

조회 수: 5 (최근 30일)
Joseph
Joseph 2015년 7월 30일
댓글: dpb 2015년 7월 30일
i have a 150*9 matrix, with random numbers in the matrix. i want to plot this matrix, for example scatter plot would be proper. could any one please tell me how can i plot this matrix?
thanyou

채택된 답변

dpb
dpb 2015년 7월 30일
Plot what against what? Who's independent variable, who's dependent? Simply against observation number just use
plot(1:length(x),x)
where x is your data matrix
  댓글 수: 2
Joseph
Joseph 2015년 7월 30일
thank you, this helped
dpb
dpb 2015년 7월 30일
OBTW, for a scatter plot you can use scatter instead of plot; reflex ended up with the former inadvertently.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Scatter Plots에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by