필터 지우기
필터 지우기

Testbench for IIR filter

조회 수: 2 (최근 30일)
Jim
Jim 2011년 9월 28일
Hi,
I need to write a testbench(a function)in Matlab that verifies the specified amplitude- and phase transfer functions of calculated IIR filter.
I have to use this testbench(function)in the design of Bandpass and lowpass IIR filters
Can anyone suggest me something about this
Thanks in advance
  댓글 수: 1
Honglei Chen
Honglei Chen 2011년 9월 28일
Hi Vivek,
What's the difference between this question and your earlier question linked below?
http://www.mathworks.com/matlabcentral/answers/16853-how-to-create-a-test-bench-waveform-for-the-working-of-band-pass-and-low-pass-filter

댓글을 달려면 로그인하십시오.

답변 (1개)

Wayne King
Wayne King 2011년 9월 28일
Hi Vivek, I think Honglei commented on this in another post. MATLAB has a number of filter analysis capabilities built in. For example, design a Butterworth lowpass filter for data sampled at 1 kHz.
d = fdesign.lowpass('N,F3dB',10,100,1e3);
Hd = design(d,'butter');
% Get the frequency response in 1-Hz increments around the
% unit circle
[H,W] = freqz(Hd,1e3,1e3,'whole');
Get the frequency response at 100-Hz
H(101)
  댓글 수: 1
Wayne King
Wayne King 2011년 9월 28일
Additionally, if you have the DSP System Toolbox, you can use measure()
measure(Hd)

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Analog Filters에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by