I have two vectors x and y and I want to assign to the coordinate (x(1),y(1)) of a matrix a number, and then the same number to the coordinate (x(2),y(2)) and so on until I get to the coordinate (x(n),y(n)).
How can I do this without iterating?
iteratematrixvectors
Best Answer