Overview
Deinterleaves the complex floating point vector and return the real part (inphase) of the samples scaled to 16-bit shorts.
Dispatcher Prototype
Inputs
- complexVector: The complex input vector.
- scalar: The value to be multiplied against each of the input vectors..
- num_points: The number of complex data values to be deinterleaved.
Outputs
- iBuffer: The I buffer output data.
Example Generate points around the unit circle and map them to integers with magnitude 50 to preserve smallest deltas.
int N = 10;
float scale = 50.f;
for(unsigned int ii = 0; ii < N/2; ++ii){
float real = -4.f * ((float)ii / (float)N) + 1.f;
float imag = std::sqrt(1.f - real * real);
}
for(unsigned int ii = 0; ii < N; ++ii){
printf("out[%u] = %i\n", ii, out[ii]);
}