FUNCTION REFERENCE

fft

Fast Fourier transform.

Fast Fourier transform.

Syntax

fft(X)

Syntax

fft(X, n)

Syntax

fft(X, n, dim)

n pads or crops to length n; [] keeps the length. dim is 1 or 2. Length is at most 1048576.

Example

abs(fft([1 0 0 0]))   % [1 1 1 1]

Differences from MATLAB: Real, logical or complex 2-D input only; symmetry options are not supported.

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