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

Hi, I have a 6x21 matrix. I want to plot it in one single graph in wich each rows is a different curves.

 Risposta accettata

a = randn(6, 21);
plot(a')

2 Commenti

I have the value of the matrix, I do not need random value
I don't have your value of the matrix, so I have to generate some data to demonstrate the plot :-)

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su 2-D and 3-D Plots in Centro assistenza e File Exchange

Prodotti

Release

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by