Want to create table showing all possible combinations from x & y position vectors
I am provided 2 position vectors xpos and ypos. I want to create table showing all possible combinations from the x & y position vectors. I'm showing a very simple example where I want to create 2 new vectors containing all possible combinations. My issue appears to stem from the indexing but I'm stumped. // Want to create table showing all possible combinations from x & y position vectors
xpos
...