Plot array with increment
Show older comments
I want to plot an array of random numbers with increment of 5 where y = [3 7 0 2 5] with x = [5 10 15 20 25]. The coordinate will become [5,3], [10,7] and etc.
Answers (1)
Davide Masiello
on 10 Mar 2022
Just type
plot(x,y)
Categories
Find more on 2-D and 3-D Plots 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!