IIR filter, highpass, type butterworth
Show older comments
How can i make a IIR filter,highpass, type butterworth with the cutoff Wt=300Hz ,attenuation 50 db at 125Hz and Fs=8KHz please help me, need corect matlab code!
clc;clf;clear all
Fs=8000;
we=2*pi*125/80000;% 50 db
wb=2*pi*?/80000;% it isn't specify in the text
Oe=we*Fs;%rad/s;
Ob=wb*Fs;%rad/s;
[n,Wt]=buttord(Oe,Ob,?,50,'s');
[bs,as] = butter(n,Wt,'high','s');
Answers (1)
Daniel Shub
on 9 Jan 2012
Have you tried looking at
doc buttord
doc butter
What type of inputs are they expecting? How does that relate to what you currently have. What do you need to do to get there? What have you tried so far?
Categories
Find more on Butterworth in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!