sigexp
Efficient computing of a complex exponential.
Namespace: dsp
Prototype
static Veccf sigexp(float f, int n)
Parameters
| f | Normalized frequency of the exponential (between -0.5 et 0.5) | 
| n | Number of points to generate. | 
Returns
Complex vector defined by:  
Description
This function generates a complex exponential signal, based on an harmonic oscillator (which is far more efficient than by using the trigonometric functions of the standard library). Note however that if \(n\) is a big number, there can be some divergence, both in gain and in phase.
Example

