Function calculate_magnitude

Function Documentation

void calculate_magnitude(fftwf_complex *complex_signal, float *magnitude, int length)

Calculate the magnitude of complex signals.

Parameters:
  • complex_signal – Pointer to the complex signal.

  • magnitude – Pointer to store the magnitude values.

  • length – Length of the signal.