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

2 Ansichten (letzte 30 Tage)
Hi, I have a 6x21 matrix. I want to plot it in one single graph in wich each rows is a different curves.

Akzeptierte Antwort

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

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange

Produkte


Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by