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

1 view (last 30 days)
Agnese Chini
Agnese Chini on 6 Oct 2021
Commented: Chunru on 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.

Accepted Answer

Chunru
Chunru on 6 Oct 2021
a = randn(6, 21);
plot(a')
  2 Comments
Chunru
Chunru on 7 Oct 2021
I don't have your value of the matrix, so I have to generate some data to demonstrate the plot :-)

Sign in to comment.

More Answers (0)

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by