셈툴 다운로드

셈툴 튜토리얼

공학수학 | z-평면과 주파수 응답 |

페이지 정보

작성자 cemtool 작성일14-06-16 16:38 조회8,391회 댓글0건

본문

다음과 같은 전달함수를 갖는 시스템을 생각해보자. 이 시스템의 극점과 영점을 z-평면에 표시 하고, 주파수 응답을 구하여라.
 
 

ex10_17.cem
/*
 Example 10.17 Z-plane and frequency response
*/
 
// Show the Z-plane and frequency response of the function// H(z)=z/(z-.9) 
num=[1 0]; den=[1 -0.9]; // Define numerator and denominator of H(z) 
figure         
 
zplane(num,den)                  // Draw the z-plane
 
[H,W]=freq_z(num,den,256);   // Compute frequency response
 
magH = 20*log10(abs(H));     // in dB
 
argH = angle(H)*180/pi;      // in degree
 
normalW = W/max(W);          // Normalized frequency
 
figure 
subplot(2,1,1) 
plot(normalW, magH) 
xtitle("Normalized frequency(Nyquist==1)") 
ytitle("Magnitude Response (dB)") 
subplot(2,1,2) 
plot(normalW, argH) 
xtitle("Normalized frequency(Nyquist==1)") 
ytitle("Phase (degree)")
 
 
사본 -ex10_17__1.png

댓글목록

등록된 댓글이 없습니다.