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.
显示 更早的评论
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
回答(1 个)
dpb
2018-6-19
z=x(10:20:end,10:20:end);
类别
在 帮助中心 和 File Exchange 中查找有关 Automated Driving Toolbox 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!