Engee documentation

bohmanwin

Boman’s window.

Library

EngeeDSP

Syntax

Function call

  • w = bohmanwin(L) — returns L-Boman point window w.

  • w = bohmanwin(L,typeName) — indicates the possibility of returning the window w with single or double precision.

Arguments

Input arguments

# L — window length

+ positive integer

Details

The window length specified as a positive integer.

If you set L as a non-integer, the function will round it to the nearest integer value.
Типы данных

Float32, Float64, Int8, Int16, Int32, Int64, UInt8, UInt16, UInt32, UInt64

# typeName — type of output data

+ Float64 (by default) | Float32

Details

The type of output data (class) specified in one of the following ways:

  • Float64 — use this value to return the output w with double precision.

  • Float32 — use this value to return the output w with single precision.

Типы данных

DataType

Output arguments

# w — Boman window

+ column vector

Details

The Boman window returned as a column vector.

Algorithms

The Boman window is a convolution of two cosine lobes of half duration. In the time domain, it is the product of a triangular window and one cosine period with the addition of a term zeroing the first derivative at the boundary. The coefficients of the Bohman window are reduced as . The equation for calculating the coefficients of the Boman window has the form

Where — length vector , consisting of linearly spaced values. The first and last elements of the Boman window must be forcibly equal to zero.

Literature

  1. Harris, Fredric J. «On the Use of Windows for Harmonic Analysis with the Discrete Fourier Transform.» Proceedings of the IEEE®. Vol. 66, January 1978, pp. 51–83.