Skip to content

fft (Series)

Discrete Fourier transform of time series data

Syntax

[y, range, freq, per] = fft(x)
[y, range, freq, per] = fft(x, range, ...)

Input arguments

x [ Series ]

Input time series object whose data will be transformed.

range [ numeric | Inf ]

Date range.

Output arguments

y [ numeric ]

Fourier transform with data organised in columns.

range [ numeric ]

Actually used date range.

freq [ numeric ]

Frequencies corresponding to FFT vector elements.

per [ numeric ]

Periodicities corresponding to FFT vector elements.

Options

'full=' [ true | false ]

Return Fourier transform on the whole interval [0, 2*pi]; if false only the interval [0, pi] is returned.

Description

Examples