How can I determine b and a values for a data signal when using filter() function

4 Ansichten (letzte 30 Tage)
Hello,
How do I determine the suitable b and a values when using filter function to filter a data signal?

Akzeptierte Antwort

Star Strider
Star Strider am 10 Mai 2020
Use any of the filter design functions that produce transfer function output.
However the transfer function coefficients can create unstable filters. It is always best to have the filter functions create zero-pole-gain (z,p,k) representations rather than transfer function representations, then use the zp2sos function to convert them to second-order-section representation to produce robust, stable filters. The filtfilt function can use them, as well as digital filter objects (such as thouse produced by lowpass, bandpass, and similar functions) to filter signals.
  14 Kommentare
Dhanushka Palipana
Dhanushka Palipana am 10 Mai 2020
I will do so. I'll read about it a bit more and try designing. I really appreciate your help.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by