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

1 次查看(过去 30 天)
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.

回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 Surface and Mesh Plots 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by