So I need to build a matrix of x
and y
coordinates. I have the x
stored in one matrix called vx=0:6000;
and y
stored in Vy=repmat(300,1,6000);
.
Values in x
are 0,1,2,...,5999,6000
.
Values in y
are 300,300,...,300,300
.
How do I build a "vector" with the x,y
coordinates above?
It would look like this [(0,300);(1,300);...;(5999,300);(6000,300)]
.
After I finish doing this, I am going to want to find the distance between another fixed point x,y
(that I will replicate 6000
times) and the vector above, in order to make a distance graph over time.
Thank you so much!