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

1 view (last 30 days)
ADNAN KIRAL
ADNAN KIRAL on 6 Dec 2018
Commented: ADNAN KIRAL on 12 Dec 2018
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)

Accepted Answer

Honglei Chen
Honglei Chen on 6 Dec 2018
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 Comments

Sign in to comment.

More Answers (0)

Products


Release

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by