2.1.22.2.1.36 fft_normalize_response


Description

This function performs normalization of the response function.

Syntax

void fft_normalize_response( vector & vecResponse )

Parameters

vecResponse
[modify] Input: response function; Output: normalized result

Return

void

Examples

Prior to compilation, load fft_utils.c to the workspace by executing the following LabTalk command:

Run.LoadOC("Originlab\fft_utils.c", 16);

To retain fft_utils.c in the workspace for successive sessions, drag and drop the file from the Temporary folder to the System folder.

EX1

 
#include <fft_utils.h> 
void fft_normalize_response_ex1()
{
    vector vsig = {0, 0, 0, 1, 1, 0, 0, 0};
    fft_fft_real(8, vsig);
    fft_normalize_response(vsig);
}

Remark

See Also

Header to Include

fft_utils.h

Reference