필터 지우기
필터 지우기

FIR High Pass Filter from Low Pass Filter Using Windows

조회 수: 1 (최근 30일)
Shay
Shay 2020년 6월 13일
How to implement a high pass filter similar to the code below using fvtool? I tried changing the impulse response of the LPF into HPF simply by using:
b = (-sin(wc*n))/(pi*n) instead of the LPF impulse response equation b = (sin(wc*n))/(pi*n). However, I got the same result as before which is the LPF result.
n = -25:25 %range
b = (sin(0.4*(n)))/(pi*n)%impulse response for LPF
b = b.*bartlett(51)';%Window method
fvtool(b,1)

답변 (0개)

카테고리

Help CenterFile Exchange에서 Digital Filter Design에 대해 자세히 알아보기

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by