Mittwoch, 11. Februar 2009

shift complex array by applying a ramp in frequency domain

tam=size(vector)
w=findgen(tam(1))/float(tam(1))
shifted_vector=(fft(fft(vector)*exp(complex(0,-w*s)),/inverse))
s is der shift in pixels

Keine Kommentare: