フィルターのクリア

can i discretise a transfer function in "butter" toolbox Matlab?

1 回表示 (過去 30 日間)
ADNAN KIRAL
ADNAN KIRAL 2018 年 12 月 6 日
コメント済み: ADNAN KIRAL 2018 年 12 月 12 日
hi,
if I use the following command, does that make sense for discretisation? or i need to use "c2d" toolbox matlab for that ?
can anyone help me with that.
thanks in advance
the code is for :
A high-pass filter with a cut-off frequency of 0.02 Hz
A model whose filter is a first-order lag system (n=1). And Sampling time: 0.01 s;
n=1;
Wn=0.02; %Hz
% Transfer Function design
[b,a] = butter(n,Wn,'high');
figure;
freqz(b,a,(2*59400),0.01)

採用された回答

Honglei Chen
Honglei Chen 2018 年 12 月 6 日
Could you explain what you mean by discreization? Using your syntax, the output of butter is already a digital filter so I don't think you need somthing like c2d.
HTH
  7 件のコメント
Honglei Chen
Honglei Chen 2018 年 12 月 11 日
What you show here is the filter esponse, not a filtered signal. To filter a signal x, you will have to do
y = filter(b,a,x)
The output y is in time domain.
HTH
ADNAN KIRAL
ADNAN KIRAL 2018 年 12 月 12 日
thanks.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMatched Filter and Ambiguity Function についてさらに検索

製品


リリース

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by