how can plot a matix?

5 vues (au cours des 30 derniers jours)
Joseph
Joseph le 30 Juil 2015
Commenté : dpb le 30 Juil 2015
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

Réponse acceptée

dpb
dpb le 30 Juil 2015
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 commentaires
Joseph
Joseph le 30 Juil 2015
thank you, this helped
dpb
dpb le 30 Juil 2015
OBTW, for a scatter plot you can use scatter instead of plot; reflex ended up with the former inadvertently.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Scatter Plots dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by