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

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.

Answers (1)

plot(X,Y)
Was there something more to your question that I didn't understand?

Asked:

on 6 Feb 2020

Answered:

on 6 Feb 2020

Community Treasure Hunt

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

Start Hunting!