# BkmanWin

Advanced Analysis Library Only

AnalysisLibErrType BkmanWin (double arrayX[], int numberOfElements);

## Purpose

Applies a Blackman window to the input signal. The following formula defines the Blackman window:

for i = 0, 1, . . ., n — 1

BkmanWin obtains the output signal using the following formula:

xi = xi × wi

for i = 0, 1, . . ., n — 1

The function performs the window operation in place; that is, the windowed data replaces the input data.

## Parameters

Input
Name | Type | Description
numberOfElements | integer | Number of elements in the input array, arrayX.
Output
Name | Type | Description
arrayX | double-precision array | On input, the input signal. On output, the signal smoothed by the Blackman window.

## Return Value

Name | Type | Description
status | AnalysisLibErrType | A value that specifies the type of error that occurred. Refer to analysis.h for definitions of these constants.