GNU Radio Manual and C++ API Reference  3.7.7
The Free & Open Software Radio Ecosystem
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages

Overview

Converts 16-bit shorts to scaled 32-bit floating point values.

Dispatcher Prototype

void volk_16i_s32f_convert_32f(float* outputVector, const int16_t* inputVector, const float scalar, unsigned int num_points);

Inputs

  • inputVector: The input vector of 16-bit shorts.
  • scalar: The value divided against each point in the output buffer.
  • num_points: The number of complex data points.

Outputs

  • outputVector: The output vector of 8-bit chars.

Example

int N = 10000;