interpft

Purpose

1-D interpolation using the FFT method.

Synopsis

y = interpft(x,n)

Description

y = interpft(x,n) returns the vector y that contains the value of the periodic function x resampled to n equally spaced points. If length(x) = m, and x has sample interval dx, then the new sample interval for y is

dy = dx*n/m
Note that n cannot be smaller than m.

Algorithm

interpft uses the FFT method. The original vector x is transformed to the Fourier domain using fft and then transformed back with more points.

See Also

interp1, interp2

(c) Copyright 1994 by The MathWorks, Inc.