y = interpft(x,n)
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
.
interpft
uses the FFT method. The original vector x
is transformed to the Fourier domain using fft
and then transformed back with more points.
interp1
,interp2
(c) Copyright 1994 by The MathWorks, Inc.