Consider the following loop, translated directly from Fortran or C dx = pi/30; nx = 1 + 2*pi/dx; for i = 1:nx x(i) ...
web.cecs.pdx.edu