Main Content

웨이블릿, 웨이블릿 패킷 및 웨이블릿 필터 시각화하기

이 예제에서는 wfilters, wavefun, wpfun을 사용하여 특정 웨이블릿 패밀리에 해당하는 필터, 웨이블릿 또는 웨이블릿 패킷을 얻는 방법을 보여줍니다. wavefun2를 사용하여 분리 가능한 2차원 웨이블릿을 시각화할 수 있습니다.

복원 필터에 3개의 소실 모멘트와 분해 필터에 5개의 소실 모멘트가 있는 쌍직교 스플라인 웨이블릿 필터의 분해(분석) 필터 및 복원(합성) 필터를 얻습니다.

[LoD,HiD,LoR,HiR] = wfilters('bior3.5');
subplot(2,2,1)
stem(LoD,'markerfacecolor',[0 0 1]); title('Lowpass Decomposition Filter');
subplot(2,2,2)
stem(LoR,'markerfacecolor',[0 0 1]); title('Lowpass Reconstruction Filter');
subplot(2,2,3)
stem(HiD,'markerfacecolor',[0 0 1]); title('Highpass Decomposition Filter');
subplot(2,2,4)
stem(HiR,'markerfacecolor',[0 0 1]); title('Highpass Reconstruction Filter');

Figure contains 4 axes objects. Axes object 1 with title Lowpass Decomposition Filter contains an object of type stem. Axes object 2 with title Lowpass Reconstruction Filter contains an object of type stem. Axes object 3 with title Highpass Decomposition Filter contains an object of type stem. Axes object 4 with title Highpass Reconstruction Filter contains an object of type stem.

실수 값 Morlet 웨이블릿을 시각화합니다. 연관된 스케일링 함수는 없습니다.

figure
[psi,xval] = wavefun('morl');
plot(xval,psi,'linewidth',2)
title('$\psi(x) = e^{-x^2/2} \cos{(5x)}$','Interpreter','latex',...
     'fontsize',14);

Figure contains an axes object. The axes object with title psi leftParenthesis x rightParenthesis equals e toThePowerOf minus x Squared baseline slash 2 baseline cos leftParenthesis 5 x rightParenthesis contains an object of type line.

4개의 소실 모멘트가 있는 Daubechies 최소 비대칭 웨이블릿(sym4)의 처음 4개 웨이블릿 패킷을 얻습니다.

[wpws,x] = wpfun('sym4',4,10);
for nn = 1:size(wpws,1)
    subplot(3,2,nn)
    plot(x,wpws(nn,:))
    axis tight
    title(['W',num2str(nn-1)]);
end

Figure contains 5 axes objects. Axes object 1 with title W0 contains an object of type line. Axes object 2 with title W1 contains an object of type line. Axes object 3 with title W2 contains an object of type line. Axes object 4 with title W3 contains an object of type line. Axes object 5 with title W4 contains an object of type line.

참고 항목

| | |