Imaginary component of a discrete Fourier Transform (dFT) function. Note: This item is deprecated and will be removed in a future release. |
||
Syntax |
y = DftImag(vec1, vec2) |
|
Argument |
Name |
Description |
vec1 |
A vector of a real component of time-domain data. |
|
vec2 (optional) |
A vector of an imaginary component of time-domain data. |
|
Output |
Name |
Description |
y |
A vector of the imaginary components. It is of same length as vec1. |
|
Example |
Given a vector data of the time-domain signal, a vector of the imaginary components of the dFT of the signal is created. |
|
Syntax |
||
y = DftImag(data) |
||
Result |
||
y is a vector of the same length as the data consisting of the imaginary components of the dFT. |
||
Comments |
The DftImag function returns the imaginary component 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 DftImag, the function returns a regular dFT. If two vectors are passed to DftImag, a complex dFT is calculated. vec1 and vec2 must have the same number of elements. |
|
See Also: |