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

2 views (last 30 days)
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)

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!