셈툴 다운로드

셈툴 튜토리얼

신호처리 | 진폭 응답 3 |

페이지 정보

작성자 cemtool 작성일14-04-23 18:06 조회11,585회 댓글0건

본문

라 하자. 진폭 응답와, 의 영점위치를 구해보자.

ex7_6.cem
/*    Chapter 7: Example 7.6    Type-3 Linear phase FIR filter*/
 
 h = [-4,1,-1,-2,5,0,-5,2,1,-1,4];
 M = length(h); n = 0:M-1;
 [Hr,w,c,L] = Hres_t3(h);
 c
 L
 
 cmax = max(c)+1; cmin = min(c)-1;
 subplot(2,2,1); 
stem(n,h);
 xtitle("n"); ytitle("h(n)"); title("Impulse Response") 
subplot(2,2,2);
plot(w/pi,Hr);
 xtitle("frequency in pi units"); ytitle("Hr") title("Type-3 Amplitude Response") 
subplot(2,2,3); 
stem(0:L,c);
 xtitle("n"); ytitle("c(n)"); title("c(n) coefficients") 
subplot(2,2,4);
zplane(h,1) title("Pole-Zero Plot")


댓글목록

등록된 댓글이 없습니다.