<div dir="ltr"><div>Dear all, </div><div><br></div>I am applying a bandpass filter 8-12 Hz on EEG data, 64 channels, 1000 sampling frequency. The data was preprocessed in eeglab software.<br><br>I get an error that suggests changing the order of the filter<br>ft_error('Calculated filter coefficients have poles on or outside the unit circle and will not be stable. Try a higher cutoff frequency or a different type/order of filter.');<br><br>I'm not sure why I get this error. Does anyone have an idea?<div><br>Indeed when I change the filter order to 3 instead of default 4, the problem is solved. <br>I also noticed that if I change Fs to 500 instead of 1000 it also works. <br><br>Could someone comment on how Fs affects filtering in ft_preproc_bandpassfilter or what are the consequences of switching to the filter of the lower order? <br><br>Thanks, <div>Lara<br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Lara Todorova | PhD</div></div></div></div></div></div>