フィルターのクリア

IIR filter coefficients calculation

3 ビュー (過去 30 日間)
Md Shahidul Alam
Md Shahidul Alam 2018 年 2 月 6 日
回答済み: Dhamdhawach Horsuwan 2020 年 2 月 11 日
I'm trying to design a 'butterworth', 'bandpass' IIR filter using MATLAB. I used designfilt function to design the filter. So using fvtool I can check the info and it shows the filter type is IIR filter But when I used filter function to check the output and used fvtool, in the information it shows that the filter is FIR type. And it shows different numerator and denaminator. Could any one plz tell me what's happening here? Thanks in advance!
d1 = designfilt('bandpassiir','FilterOrder',4, ...
'HalfPowerFrequency1',0.5,'HalfPowerFrequency2',6, ...
'DesignMethod','butter','SampleRate',Fs);
fvtool(d1)
d = filter(d1,input_signal);
fvtool(d)

回答 (1 件)

Dhamdhawach Horsuwan
Dhamdhawach Horsuwan 2020 年 2 月 11 日
This is wrong variable type.
d1 is digitalFilter which can visualize with fvtool;
but for d that return from filter is output data or filtered signal.
fvtool only use with filter such as digitalFilter object , filter coefficient[a,b] or sos matrix.

カテゴリ

Help Center および File ExchangeFilter Design についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by