Main Content

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

info

クラス: sigwin.taylorwin
名前空間: sigwin

テイラー ウィンドウ オブジェクトについての情報の表示

構文

info(H)
info_win = info(H)

説明

info(H) では、テイラー ウィンドウ オブジェクト H について、長さとサイドローブの情報が表示されます。

info_win = info(H) では、テイラー ウィンドウ オブジェクト H の長さとサイドローブの情報が文字配列 info_win に返されます。

すべて展開する

長さが N = 32、サイドローブの最大レベルが 60 dB で、メインローブに隣接する 2 つの一定レベルのサイドローブをもつテイラー ウィンドウを生成します。ウィンドウを表示します。

H = sigwin.taylorwin(32,3,60);

wvt = wvtool(H);
ax = wvt.CurrentAxes;
ax.YLim = [-50 50];

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.

長さ N = 16 のテイラー ウィンドウを生成します。その値を列ベクトルとして返します。ウィンドウ オブジェクトに関する情報が表示されます。ウィンドウを表示します。

H = sigwin.taylorwin(16);

win = generate(H)
win = 16×1

    0.3931
    0.5021
    0.6912
    0.9174
    1.1409
    1.3330
    1.4737
    1.5485
    1.5485
    1.4737
      ⋮

wininfo = info(H)
wininfo = 5x47 char array
    'Taylor Window                                  '
    '-------------                                  '
    'Length                                     : 16'
    'Number of nearly constant-level sidelobes  : 4 '
    'Maximum sidelobe level                     : 30'

wvtool(H)

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.