How to plot a graph from matrix each row elements should start plotting from row number
Show older comments
I want to plot a graph from a matrix which contains 12 rows and 150 columns. Each row element should start plotting from row number.

Answers (1)
madhan ravi
on 9 Sep 2019
Edited: madhan ravi
on 9 Sep 2019
I'm not certain what you want though , see if the below satisfies your needs:
plot(matrix)
3 Comments
Arpita Chopra
on 10 Sep 2019
madhan ravi
on 10 Sep 2019
Edited: madhan ravi
on 10 Sep 2019
For instance how do you want the graph for the below matrix:
matrix = [1,2;3,4] %?
Attach the desired graph screenshot.
Arpita Chopra
on 10 Sep 2019
Categories
Find more on Graph and Network Algorithms in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!