Yes, thanks! I also mistakenly used n as the index variable in a pair of nested loops, but the loop-index scope rules seem to have saved me there.
On Friday, December 18, 2015 at 3:01:02 AM UTC-5, DNF wrote: > > Your last line is: > u = real(ifft(u)) > > In that case you seem to be throwing away all the intermediate > calculations. Should it be: > u = real(ifft(uf)) > ? >
