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

Computes the magnitude of the complexVector and stores the results in the magnitudeVector.

Dispatcher Prototype

void volk_16ic_magnitude_16i(int16_t* magnitudeVector, const lv_16sc_t* complexVector, unsigned int num_points)

Inputs

  • complexVector: The complex input vector.
  • num_points: The number of samples.

Outputs

  • magnitudeVector: The magnitude of the complex values.

Example

int N = 10000;