how can plot a matix?

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 个评论

thank you, this helped
OBTW, for a scatter plot you can use scatter instead of plot; reflex ended up with the former inadvertently.

请先登录,再进行评论。

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Scatter Plots 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by