How to design a bandpass filter

2 views (last 30 days)
I need to design a bandpass filter with sampling rate of 1kHz and bandpass from 1 to 200 Hz and then insert a signal my signal in the filter can any one give the syntax for it? This is for EEG seizure data. I need to preprocess it.
Cheers!
Side note: I own 2011 student version of MATLAB

Accepted Answer

Star Strider
Star Strider on 1 Dec 2015
If you want to write your own code, you can use the procedure in How to design a lowpass filter for ocean wave data in Matlab?

More Answers (1)

Udit Gupta
Udit Gupta on 1 Dec 2015
The easiest way is to use the Filter Design and Analysis Tool. Just type fdatool in matlab command window. This needs Signal Proc. Toolbox though.
  3 Comments
Udit Gupta
Udit Gupta on 1 Dec 2015
fdatool has the option to generate code for you. Use
File>Generate MATLAB Code
Satya swaroop Swain
Satya swaroop Swain on 9 Jun 2018
how can my signal be passed into this filter

Sign in to comment.

Categories

Find more on EEG/MEG/ECoG 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!