Using a for loop, how do i make an array where the first column is the x value & the second column is the y value when extracting the x & y values from a larger, non-square matrix? I want every 20th value of x and y starting at 10 for both of them.
Show older comments
I dont have any code because my computer cant run the data...it needs to be processed on a super computer. Also i dont know if i should create an array or a matrix of these values, but i will want to access them later and use the as center points for drawing lines. Thank you
Answers (1)
dpb
on 19 Jun 2018
z=x(10:20:end,10:20:end);
Categories
Find more on Automated Driving Toolbox in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!