저지대역 감쇠량이 20dB인 8차 체비쇼프 유형 II 대역통과 필터를 설계합니다. 저지대역 경계 주파수를 rad/sample과 rad/sample로 지정합니다.
[b,a] = cheby2(8/2,20,[1 5]/8);
zplane을 사용하여 전달 함수의 극점과 영점을 플로팅합니다.
zplane(b,a)
필터의 영위상 응답을 시각화합니다. 단위원과 극점 및 영점 위치를 겹쳐 놓습니다.
[hw,fw] = zerophase(b,a,1024,"whole");
z = roots(b);
p = roots(a);
plot3(cos(fw),sin(fw),hw)
hold on
plot3(cos(fw),sin(fw),zeros(size(fw)),'--')
plot3(real(z),imag(z),zeros(size(z)),'o')
plot3(real(p),imag(p),zeros(size(p)),'x')
hold off
xlabel("Real")
ylabel("Imaginary")
view(35,40)
grid
극점-영점 플롯의 영점 선에 대한 핸들로 구성된 벡터 hz와 극점 선에 대한 핸들로 구성된 벡터 hp를 반환합니다. ht는 영점 또는 극점이 여러 개 있는 경우 축/단위원 선과 text 객체에 대한 핸들로 구성된 벡터가 됩니다. 영점이나 극점이 없을 경우 hz 또는 hp는 모두 빈 행렬 []이 됩니다.
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.