Use matrix index number as parameter for x-axis.
Show older comments
So I have to plot the following set of data: y=[12,14,12,22,8,9]
And allow MATLAB to use the matrix index number as the parameter for the x-axis.
I'm not sure how to do this. Any help would be appreciated.
Thanks
Accepted Answer
More Answers (0)
Categories
Find more on Matrix Indexing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!