FUNCTION REFERENCE

interpft

Interpolate periodic data using Fourier coefficients.

Interpolate periodic data using Fourier coefficients.

Syntax

interpft(X, N); interpft(X, N, DIM)

Resamples each vector along the first nonsingleton dimension, or DIM=1 or 2. Pads Fourier coefficients and splits the Nyquist term when needed. Complex input is retained. Smaller N samples the interpolated periodic signal; N=0 returns an empty array.

Example

interpft([1 2 3 4], 2)   % [1 3]

Differences from MATLAB: Transforms are limited to 1048576 points and two dimensions; FFT rounding may differ from MATLAB.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.