fft (MathScript RT Module Function)

LabVIEW 2012 MathScript RT模块帮助

版本日期:June 2012

产品编号:373123C-0118

»查看产品信息
下载帮助
(仅限Windows)

Owning Class: transforms

Requires: MathScript RT Module

Syntax

c = fft(a)

c = fft(a, b)

c = fft(a, b, d)

c = fft(a, [], d)

Description

Computes the fast Fourier transform (FFT) in the same manner as the FFT VI.

Examples

Inputs

Name Description
a Specifies a vector or matrix of double-precision, floating-point or complex double-precision, floating-point numbers.
b Controls zero-padding to the signal. b is an integer and typically is a power of 2.
d Specifies the dimension of a in which LabVIEW performs the FFT. d is an integer.
[] Tells LabVIEW that you want to specify a and d but not b.

Outputs

Name Description
c Returns the fast Fourier transform of a. If a is a vector, c = fft(a) returns the original discrete Fourier transform (DFT). If a is a matrix, c = fft(a) returns the column-wise fast Fourier transforms of all columns of a. c is a vector or matrix.

Details

The following table lists the support characteristics of this function.

Supported in the LabVIEW Run-Time Engine Yes
Supported on RT targets Yes
Suitable for bounded execution times on RT Yes

Examples

A = [1, 2, 3, 4, 4, 3, 2, 1]
C = fft(A, 8)

Related Topics

fft2d
fftshift
ifft
ifft2d

文章是否对您有帮助?

没有帮助