How to map and plot each y coordinate in a y coordinate array with each coordinate in a x coordinate array??

1 Ansicht (letzte 30 Tage)
I have an x coordinate array X(K) = [10,20,30,......,100] and similarly y coordinate array Y(Z) = [5,10,15,......,50]. Now I want map each y coordinate with x coordinate array, so that i can create 100 coordinates and plot all the coordinates. Kindly help me how to write code for this problem.

Antworten (1)

Bob Thompson
Bob Thompson am 6 Feb. 2020
plot(X,Y)
Was there something more to your question that I didn't understand?

Community Treasure Hunt

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

Start Hunting!

Translated by