How to change the plot on the matrix?

2 views (last 30 days)
I have a matrix 6x21, when I plot
figure; plot(matrix);hold on
This makes a plot with 21 curves, just like this:
But I want the contrary, how can I have just 7 curves (one for each rows)?

Accepted Answer

David Hill
David Hill on 6 Oct 2021

More Answers (0)




Community Treasure Hunt

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

Start Hunting!