Hi,
I am trying to form a 5×20 matrix whose arrays are themselves 3×1 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 5×1 matrix which is the same in each column.
How do I do that?
Thank you!
Best Answer