designing a chebyshev type 2 high pass filter

8 views (last 30 days)
Hello
I am trying to design a chebyshev type 2 filter to separate the body acceleration and gravity acceleration from my senor. This is what I am basing the design from with a stopband attenuation of 60 dB and stopband frequency of 0.4 Hz. My sensor (ICM20948) is sending out acceleration data at a rate around 56 HZ. This is what I have so far.
Fs=56% from my sensor
[b,a,c] = cheby2(9,0.04,60/1000,'high');
sos = zp2sos(b,a,c)
fvtool(sos)
Any help would be much appreciated

Accepted Answer

Star Strider
Star Strider on 13 Jan 2021
Start with the cheb2ord function to define all the variables appropriately.
  6 Comments
kelvin
kelvin on 14 Jan 2021
Thank you once again. I'll defintly look into elliptical filters.

Sign in to comment.

More Answers (1)

Bilawal
Bilawal on 12 Jul 2023
Fs=56% from my sensor
[b,a,c] = cheby2(9,0.04,60/1000,'high');
sos = zp2sos(b,a,c)
fvtool(sos)

Community Treasure Hunt

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

Start Hunting!