fft#

Mapdl.fft(type_='', inputdata='', outputdata='', dim1='', dim2='', resultformat='', **kwargs)[source]#

Computes the fast Fourier transformation of a specified matrix or

APDL Command: *FFT vector.

Parameters:
type_

Type of FFT transformation:

Forward FFT computation (default). - Backward FFT computation.

inputdata

Name of matrix or vector for which the FFT will be computed. This can be a dense matrix (created by the *DMAT command) or a vector (created by the *VEC command). Data can be real or complex values. There is no default value for this argument.

outputdata

Name of matrix or vector where the FFT results will be stored. The type of this argument must be consistent with InputData (see table below). There is no default value for this argument.

dim1

The number of terms to consider for a vector, or the number of rows for a matrix. Defaults to the whole input vector or all the rows of the matrix.

dim2

The number of columns to consider for a matrix. Defaults to all the columns of the matrix. (Valid only for matrices.)

resultformat

Specifies the result format:

Returns the full result. That is, the result matches the dimension specified on this command (DIM1, DIM2). - Returns partial results. For real input data, there is a symmetry in the results of the Fourier transform as some coefficients are conjugated. The partial format uses this symmetry to optimize the storage of the results. (Valid only for real data.)

Notes

In the example that follows, the fast Fourier transformation is used to filter frequencies from a noisy input signal.