OriginLab Corporation - Scientific Graphing and Data Analysis Software - 2D graphs, 3D graphs, Contour Plots, Statistical Charts, Data Exploration, Statistics, Curve Fitting, Signal Processing, and Peak Analysis

fft2

Contents

Menu Information

2D FFT

Brief Information

Two-dimensional fast Fourier transform

Additional Information

This feature is for OriginPro only.

Command Line Usage

1. fft2 im:=[Mbook]1!Mat(1);

2. fft2 norm:=1;

3. fft2 sc:=1;

Variables

Display
Name
Variable
Name
I/O
and
Type
Default
Value
Description
Input Matrix im

Input

MatrixObject

<active>

Specifies the input matrix.

Normalize Amplitude Matrix norm

Input

int

0

Specifies whether or not to normalize the amplitudes to 1

DC Shift Center sc

Input

int

0

If this variable is 1, the DC component will be put in the center of the result matrix. Otherwise, the DC component will locate at four corners of the result matrix.

Complex Matrix ocm

Output

MatrixObject

[<new>]<new>!

Specifies the complex result matrix. See the syntax here.

Amplitude Matrix oam

Output

MatrixObject

[<same>]<new>!

Specifies the amplitude matrix See the syntax here.

Phase Matrix opm

Output

MatrixObject

[<same>]<new>!

Specifies the phase matrix See the syntax here.

Power Matrix owm

Output

MatrixObject

[<same>]<new>!

Specifies the power matrix

See the syntax here.


Examples

1. To compute the 2D FFT of active matrix, use the script command:

fft2

2. To open the fft2 dialog, use the script command:

fft2 -d

3. To perform 2D FFT to data using a pre-saved theme file, save your preferences in the fft2 dialog. Execute it by typing the following script command, using your own saved-theme title:

fft2 -t "my fft2 theme.oth"

More Information

For more information, please refer to our User Guide.


Related X-Functions

ifft2, fft1, ifft1