Effacer les filtres
Effacer les filtres

How I plot a matrix wich each rows is a different curves on the graph?

2 vues (au cours des 30 derniers jours)
HelpAStudent
HelpAStudent le 6 Oct 2021
Commenté : Chunru le 7 Oct 2021
Hi, I have a 6x21 matrix. I want to plot it in one single graph in wich each rows is a different curves.

Réponse acceptée

Chunru
Chunru le 6 Oct 2021
a = randn(6, 21);
plot(a')
  2 commentaires
HelpAStudent
HelpAStudent le 6 Oct 2021
I have the value of the matrix, I do not need random value
Chunru
Chunru le 7 Oct 2021
I don't have your value of the matrix, so I have to generate some data to demonstrate the plot :-)

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange

Produits


Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by