주요 콘텐츠

generate

바틀렛 윈도우 생성

구문

win = generate(H)

설명

win = generate(H)는 바틀렛 window 객체 H의 값을 배정밀도 열 벡터로 반환합니다.

예제

모두 확장

길이가 N = 16인 바틀렛 윈도우를 생성합니다. 이 윈도우의 값을 열 벡터로 반환합니다. window 객체에 대한 정보를 표시합니다. 윈도우를 표시합니다.

H = sigwin.bartlett(16);

win = generate(H)
win = 16×1

         0
    0.1333
    0.2667
    0.4000
    0.5333
    0.6667
    0.8000
    0.9333
    0.9333
    0.8000
    0.6667
    0.5333
    0.4000
    0.2667
    0.1333
      ⋮

wininfo = info(H)
wininfo = 3×15 char array
    'Bartlett Window'
    '---------------'
    'Length  : 16   '

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.

참고 항목

| |