how can plot a matix?

1 次查看(过去 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