I am trying to run a cycle inside a cycle, the inner cicle gets all the data for the rist row while the outer cycle changes to the next row and it keeps going until the 100x100 array is filled with the info I got from running each loop. But all I get is a 100x100 array of zeros. Can anyone help me out?
fXy = A.*exp(-(x.^2 + y.^2)/(B^2)).*exp(i.*atan(y/x));