FBlockCorrelator::AutoCorrelate

Autocorrelate an input signal.

Windows
MacOS
Linux

References

Module

SignalProcessing

Header

/Engine/Source/Runtime/SignalProcessing/Public/DSP/BlockCorrelator.h

Include

#include "DSP/BlockCorrelator.h"

Source

/Engine/Source/Runtime/SignalProcessing/Private/BlockCorrelator.cpp

Syntax

void AutoCorrelate
(
    const AlignedFloatBuffer & Input,
    AlignedFloatBuffer & Output
)

Remarks

Autocorrelate an input signal.

The Output array is filled with the autocorrelation of the Input. Care should be taken when interpreting the output as the elements are ordered so that the autocorrelation value of zero lag is in the first element.

AutoCorr[k] = Sum_n(Input[n] * Input[n + k])

Then for M = `GetNumInputValues()_ the Output array contains: Output = [AutoCorr[0], AutoCorr[1], ..., AutoCorr[M-1], AutoCorr[M], AutoCorr[-M + 1], AutoCorr[-M + 2], ..., AutoCorr[-2], AutoCorr[-1]]

Parameters

Parameter

Description

Input

input block with GetNumInputValues() elements.

Output

Output block with GetNumOutputValues() elements.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss