Overview
Deinterleaves the complex floating point vector and return the real part (inphase) of the samples.
Dispatcher Prototype
Inputs
- complexVector: The complex input vector.
- num_points: The number of complex data values to be deinterleaved.
Outputs
- iBuffer: The I buffer output data.
Example Generate complex numbers around the top half of the unit circle and extract all of the real parts to a float buffer.
int N = 10;
float* re = (
float*)
volk_malloc(
sizeof(
float)*N, alignment);
for(unsigned int ii = 0; ii < N; ++ii){
float real = 2.f * ((float)ii / (float)N) - 1.f;
float imag = std::sqrt(1.f - real * real);
}
printf(" real part\n");
for(unsigned int ii = 0; ii < N; ++ii){
printf("out(%i) = %+.1f\n", ii, re[ii]);
}