function y = USFT_simple(x,shift,boxlen,center,w) % USFT_simple -- 1d unequispaced Fourier transform % Usage: % y = USFT_simple(x,shift,boxlen,center,w) % Inputs: % x vector of length n % shift vector of shifts % boxlen half-length of the window associated with shift % center boolean variable % w window of size 2*boxlen % Outputs: % y vector le length 2n % Description: % Evaluates the FT at the points omega_(j,k) = shift(j) + k, % -boxlen <= k