Hi, how can i put the following code into a nested FOR loops?
xu = [0:1];
yu = [0:1]';
[X, Y] = meshgrid(xu,yu);
prx(:,1) = [X(1,1); Y(1,1)]
prx(:,2) = [X(2,1); Y(2,1)]
prx(:,3) = [X(1,2); Y(1,2)]
prx(:,4) = [X(2,2); Y(2,2)]
forfor loop
Best Answer