HyperMath

DftReal

DftReal

Previous topic Next topic No expanding text in this topic  

DftReal

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

Real component of a discrete Fourier Transform (dFT) function.

Note: This item is deprecated and will be removed in a future release.

Syntax

y = DftReal(vec1, vec2)

Arguments

Name

Description

 

vec1

A vector of the time-domain data.

 

vec2 (optional)

A vector of the imaginary component of time-domain data.

Output

Name

Description

 

y

A vector of the real components of the dFT.  It is of same length as vec1.

Example

Given a vector data of real part of a time-domain signal, a vector of the real components of the dFT of the signal is created.

 

Syntax

 

y = DftReal(data)

 

Result

 

y is a vector of same length as data consisting of the real components of the dFT.

Comments

The DftReal function returns the real components of a discrete Fourier Transform (dFT).  The dFT is complex-valued and used to map time-domain data into the frequency domain. vec1 and vec2 are assumed to be evenly sampled.

If only one vector is passed to DftReal, the function returns a regular dFT.

If two vectors are passed to DftReal, a complex dFT is calculated. vec1 and vec2 must have the same number of elements.

See Also:

Dfreq

DftImag

DftMag

DftPhase

Fold

Idft