Main Content

このページの内容は最新ではありません。最新版の英語を参照するには、ここをクリックします。

bohmanwin

ボーマン ウィンドウ

説明

w = bohmanwin(L) では、wL 点のボーマン ウィンドウが返されます。

すべて折りたたむ

64 点のボーマン ウィンドウを作成します。wvtool を使用して結果を表示します。

L = 64;
bw = bohmanwin(L);
wvtool(bw)

Figure Window Visualization Tool contains 2 axes objects and other objects of type uimenu, uitoolbar, uipanel. Axes object 1 with title Time domain, xlabel Samples, ylabel Amplitude contains an object of type line. Axes object 2 with title Frequency domain, xlabel Normalized Frequency (\times\pi rad/sample), ylabel Magnitude (dB) contains an object of type line.

入力引数

すべて折りたたむ

ウィンドウの長さ。正の整数で指定します。

データ型: single | double

出力引数

すべて折りたたむ

ボーマン ウィンドウ。列ベクトルとして返されます。

アルゴリズム

ボーマン ウィンドウは、2 つの半周期の余弦ローブの畳み込みです。時間領域では、三角ウィンドウと 1 サイクル分の余弦値との積に、1 次導関数が境界で 0 に設定されるように項が追加されます。ボーマン ウィンドウは、1/w4 で減衰します。ボーマン ウィンドウの係数を計算する式を次に示します。

w(x)=(1|x|)cos(π|x|)+1πsin(π|x|),1x1

ここで x は、linspace を使用して値を線形に配置した、長さ L のベクトルです。ボーマン ウィンドウの最初と最後の要素は強制的に等しくゼロとなります。

参照

[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.

拡張機能

C/C++ コード生成
MATLAB® Coder™ を使用して C および C++ コードを生成します。

バージョン履歴

R2006a より前に導入