Functions
VCELPF3_MISC

Functions

int_fast16_t VCELPF3_unitCircle (uint16_t numPoints, uint16_t constant, uint16_t phase, bool conjugate, VCELPF3_ComplexVector *result)
 Generate points evenly distributed on a unit circle VCE generates a unit circle as follow: exp(-j*2*pi*(k*M+phase)/1024 * (-1)^(conjugate)) More...
 

Detailed Description

Function Documentation

§ VCELPF3_unitCircle()

int_fast16_t VCELPF3_unitCircle ( uint16_t  numPoints,
uint16_t  constant,
uint16_t  phase,
bool  conjugate,
VCELPF3_ComplexVector result 
)

Generate points evenly distributed on a unit circle VCE generates a unit circle as follow: exp(-j*2*pi*(k*M+phase)/1024 * (-1)^(conjugate))

  • k = 0:N-1
  • M = 10-bit constant
  • phase = 10-bit constant
  • conjugate = 0 or 1
Parameters
[in]numPointsthe number of points to generate (k)
[in]constanta 10-bit constant (M)
[in]phasea constant in (k*M+phase)
[in]conjugatewhether or not to conjugate the output
[out]resulta pointer to a vector where the output will be placed
Note
See ti_drivers_VCE_DataManagement for directions on efficient VCE memory management.
Returns
A status code indicating whether the VCE operation was a success.
Return values
VCELPF3_STATUS_SUCCESSThe call was successful.
© Copyright 1995-2024, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale