How to design a bandpass filter

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

 采纳的回答

更多回答(1 个)

Udit Gupta
Udit Gupta 2015-12-1

0 个投票

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 个评论

Ah, is there any way I can write a code for that?
fdatool has the option to generate code for you. Use
File>Generate MATLAB Code
how can my signal be passed into this filter

请先登录,再进行评论。

类别

帮助中心File Exchange 中查找有关 EEG/MEG/ECoG 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by