dfreq

Frequency vector function.

Syntax

dfreq(vec_expr)

Argument

vec_expr
A valid vector expression.

Example

Curve Math Vectors Result
x = dfreq(c1.x)

y = dftmag(c1.y)

A vector which is the frequency component for a frequency domain curve is created using the sampling interval from c1.x.

Comments

The dfreq function builds a frequency axis from time-domain data. The resulting vector is suitable as a frequency axis for any of the discrete frequency domain functions. The result has a number of elements equal to the number of elements in vec_expr. dfreq assumes that vec_expr is evenly sampled.