WindowFunctions.Rectangular Method

Returns a rectangular window function of the specified length.

Definition

Namespace: Numerics.NET.SignalProcessing
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.0
C#
public static WindowFunction Rectangular(
	int length
)

Parameters

length  Int32
The length of the window.

Return Value

WindowFunction
A WindowFunction object that represents a rectangular window of length length, normalized so the largest value is 1.

Exceptions

ArgumentOutOfRangeException

length is less than or equal to zero.

See Also