Design Using Window Functions
- 최초 등록일
- 2007.12.18
- 최종 저작일
- 2007.11
- 11페이지/ 한컴오피스
- 가격 1,500원
소개글
DSP - 윈도우 함수를 만들어야하는 리포트(MATLAB)
(Rectangular,Han,Hamming,Blackman,Parks-McClellan Design,Raised-Cosine Half-Band Filters)
목차
1. Rectangular Window
2. Han Window
3. Hamming Window
4. Blackman Window
5. Parks-McClellan Design
6. Raised-Cosine Half-Band Filters
본문내용
Design Using Window Functions
1. Rectangular Window
clear all;
close all;
clf;
%[[----------- 싱크함수 -------------
%----------------------------------]]
%[[------- Rectangular Window -------
%----------------------------------]]
%[[------- LP (Rectangular) ---------
w_rect = rect;
h = hd .* w_rect;
%----------------------------------]]
subplot(2,2,1), stem(tot_index,rect);
title(Rectangular window);
xlabel(n ->);
subplot(2,2,2), stem(tot_index,h);
title(LP impulse response (rect));
xlabel(n ->`);
[H,w]=freqz(h,[1],1000,whole);
H=(H(1:1:501));w=(w(1:1:501));
mag=abs(H);
db=20*log10((mag+eps)/max(mag));
subplot(2,2,3); plot(w/(pi),db);title(Frequencey response in dB);
axis([0 0.5 -100 10]);xlabel(w/pi);
subplot(2,2,4); plot(w/(pi),db);title(`Pass-band(in dB));
axis([0 0.5 -1.5 1]);xlabel(w/pi);
참고 자료
Digital Signal Processing Using MATLAB V.4