MATLAB: Butterworth band pass filter

band pass filteringbutterworth

hi, i want to design a butterworth bandpass filter with this specification: sample rate=250 Hz, low and high cutoff frequency=8-30 Hz, order=5
i wrote below commands but i'm not sure it is true.is it true?
[b,a] = butter(5,[8 30]/125,'bandpass');
can anybody help me?

Best Answer

According to the documentation, this is correct: doc butter (link)