디지털신호처리(Term project) FIR Filter Design
- 최초 등록일
- 2018.08.24
- 최종 저작일
- 2016.03
- 9페이지/
한컴오피스
- 가격 2,500원
![할인쿠폰받기](/images/v4/document/ico_det_coupon.gif)
목차
1. Draw pole-zero plot of the designed filter
2. Provide the transfer function of the designed filter
3. Provide the Impulse Response of the designed filter
4. Plot the input x[n] (←sampled version of x(t))and its frequency response (write down the corresponding matlab code in your report)
5. Plot the filter impulse response and its frequency response (write down the corresponding matlab code in your report)
6. Plot the Output y[n] (←sampled version of y(t) ) and its frequency response (write down the corresponding matlab code in your report)
본문내용
▶Fir 명령어 사용한 code
f1=100; f2=200;
f3=300;
%sampling rate
rate=6;
fs=200*rate;
T=1/fs;
t=[-500:500]*T;
sig1=cos(2*pi*f1*t);
sig2=cos(2*pi*f2*t);
sig3=cos(2*pi*f3*t);
sig=sig1+sig2+sig3;
%band-pass filter design
W=[180 220]/fs*2;
M=80;
b=fir1(M,W,'bandpass');
%filtering
y=filter(b,1,sig);
%upcomversion for display
y_del=y(M/2+1:end);
up_rate=16;
sig_up=interp(sig,up_rate);
참고 자료
없음