CosineWindow[x]
x の余弦窓関数を表す.
CosineWindow[x,α]
指数 α を使う.
CosineWindow
CosineWindow[x]
x の余弦窓関数を表す.
CosineWindow[x,α]
指数 α を使う.
詳細
- CosineWindowは,一般に,データを短いセグメントで処理する必要がある信号処理アプリケーションで使われる窓関数である.
- 窓関数には,データ値を漸減して各セグメントの終りで0に近付ける平滑化効果がある.
- CosineWindow[x,α]は,
では
に等しく,その他の場合は0である. - CosineWindow[x]はCosineWindow[x,1]と等価である.
- CosineWindowは自動的にリストに縫い込まれる.
例題
すべて開く すべて閉じる例 (3)
Plot[CosineWindow[x], {x, -1, 1}]Plot3D[CosineWindow[x]CosineWindow[y], {x, -1, 1}, {y, -1, 1}, PlotRange -> All]FunctionExpand[CosineWindow[x]]FunctionExpand[CosineWindow[x, α]]スコープ (6)
CosineWindow[0.1]Plot[CosineWindow[x, 3], {x, -1, 1}]Plot3D[CosineWindow[x, α], {α, 0, 5}, {x, -1, 1}]Plot[CosineWindow[(x - 1) / 2], {x, -1, 3}]Plot3D[CosineWindow[Sqrt[x ^ 2 + y ^ 2]], {x, -1, 1}, {y, -1, 1}, PlotRange -> All]ListPlot[Array[CosineWindow, 15, {-1 / 2, 1 / 2}], Filling -> Axis]ListPointPlot3D[Array[CosineWindow[#1] CosineWindow[#2]&, {15, 10}, {{-1 / 2, 1 / 2}}], Filling -> Axis]アプリケーション (3)
h = ConstantArray[1 / 11., 11]w = Array[CosineWindow, Length[h], {-1 / 2, 1 / 2}];
fir = w h / Total[w h];LogLinearPlot[Evaluate[20Log[10, Abs@ListFourierSequenceTransform[#, ω]]& /@ {h, fir}], {ω, 0.1, Pi}, GridLines -> Automatic]窓指定を使ってサンプルPowerSpectralDensityを計算する:
proc = ARMAProcess[1, {.5}, {.3}, 1];
data = RandomFunction[proc, {50}];spec = PowerSpectralDensity[data, w, CosineWindow];sd = PowerSpectralDensity[data, w];sd === specプロットは,窓がスペクトル密度を平坦化したことを示している:
Plot[{sd, spec}, {w, -π, π}, PlotRange -> All, PlotLegends -> {"no window", "with window"}]Plot[{spec, Evaluate@PowerSpectralDensity[proc, w]}, {w, -π, π}, PlotLegends -> {"data", "process"}]data = RandomFunction[ARMAProcess[1, {.3}, {.4}, 1], {300}];EstimatedProcess[data, ARMAProcess[1, 1], ProcessEstimator -> {"SpectralEstimator", "Window" -> CosineWindow}]特性と関係 (3)
CosineWindow[x,0]はディリクレ窓に等しい:
FunctionExpand[CosineWindow[x, 0]] == FunctionExpand[DirichletWindow[x]]area = Integrate[CosineWindow[x], {x, -∞, ∞}]Plot[{CosineWindow[x], CosineWindow[x] / area}, {x, -1, 1}]f = FourierTransform[CosineWindow[x], x, w]LogLinearPlot[20 Log[10, Abs[f]], {w, .1, 80}]考えられる問題 (1)
Arrayに記号として渡す場合には,余弦窓の2Dサンプリングはサンプルの各行に異なる指数を用いる:
Array[CosineWindow, {30, 30}, {{-.5, .5}}]//N//ListPlot3DArray[CosineWindow[#1] CosineWindow[#2]&, {30, 30}, {{-1 / 2, 1 / 2}}]//ListPlot3D関連するガイド
テキスト
Wolfram Research (2012), CosineWindow, Wolfram言語関数, https://reference.wolfram.com/language/ref/CosineWindow.html.
CMS
Wolfram Language. 2012. "CosineWindow." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/CosineWindow.html.
APA
Wolfram Language. (2012). CosineWindow. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/CosineWindow.html
BibTeX
@misc{reference.wolfram_2026_cosinewindow, author="Wolfram Research", title="{CosineWindow}", year="2012", howpublished="\url{https://reference.wolfram.com/language/ref/CosineWindow.html}", note=[Accessed: 07-September-2026]}
BibLaTeX
@online{reference.wolfram_2026_cosinewindow, organization={Wolfram Research}, title={CosineWindow}, year={2012}, url={https://reference.wolfram.com/language/ref/CosineWindow.html}, note=[Accessed: 07-September-2026]}