Generates frequency values from time-domain data. Note: This item is deprecated and will be removed in a future release. |
||
Syntax |
y = Dfreq(vec) |
|
Argument |
Name |
Description |
vec |
A vector of the time-domain data. |
|
Output |
Name |
Description |
y |
A vector of the frequency points. It is of same length as vec. |
|
Example |
Given a vector data of time-domain signal, a vector of the frequency values is created. |
|
Syntax |
||
y = Dfreq(data) |
||
Result |
||
y is a vector of same length as data, consisting of the frequency values. |
||
Comments |
The resultant vector contains values that range from zero to twice the Nyquist frequency, and is suitable as a frequency axis companion for any of the frequency domain functions. Dfreq assumes that vec is evenly sampled. |
|
See Also: |