I am trying to form a 5x20 matrix whose arrays are themselves 3x1 matrix (x(i), y(i), z(i)) in each row:
x = zeros(1, 20);
y = -47.5 : 5: -32.5;
z = (22.5 :-5: 12.5)';
z is a 5x1 matrix which is the same in each column.
How do I do that?