Abstract
A method to resample and scale data to arbitrary length with built-in interpolation was adapted from the scalar image transformation methods based on the Rothstein binary code for the slope of a line. Unlike other transformation methods, binary code transformations have built in interpolation. The theoretical validity of the method is based on human vision reception. An application to resample simulated signal to data lengths of powers of 2 for a Fast Fourier Transform (FFT) was presented as an example. A demonstration of validity was that FFT points from data of arbitrary N scaled to a power of two using the method matched the FFT from the original data series limited to powers of 2. A simple comparison to the methods of zero-padding and an averaging interpolation was also demonstrated. The computational advantage of the method may enhance or supplement standard signal processing techniques.