<div dir="ltr"><span style="font-size:12.8px">Dear all, </span><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">I am working in the developed a BCI online in C++.</span></div><div><span style="font-size:12.8px">In offline tests EEGLab I have obtained good results with the function pop_eegfiltnew(). I want to apply this filter in the online application.</span><br></div><div><span style="font-size:12.8px">I understand that the window FIR filter is Hamming. The order is calculated using an equation. </span><br></div><div><span style="font-size:12.8px">The function firfilt() performs filtering. The code starts with pad beginning of data with DC constant and get initial conditions (this indicates the code comments). </span></div><div><span style="font-size:12.8px">After, filtering is performed by blocks. Finally, pad ending of data with DC constant.</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Accordingly, my questions are:</span><br></div><div><ul><li><span style="font-size:12.8px">What equation is used to calculate the filter order?</span><br></li><li><span style="font-size:12.8px">What does it mean pad beginning/end? </span><br></li><li><span style="font-size:12.8px">Because filtering is done by blocks?</span><br></li></ul></div><div><br></div><div><span style="font-size:12.8px">Thank you for your help!</span><br></div><div><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div style="font-size:12.8px">Victor Flores Benites</div><div style="font-size:12.8px">Egresado Ingeniería Electrónica</div><div style="font-size:12.8px">Practicante Profesional - UTEC</div><div style="font-size:12.8px">+(51) 975712054 - RPM: #<span style="font-size:12.8px">975712054</span></div><div style="font-size:12.8px"><a href="mailto:suryavf@gmail.com" target="_blank">suryavf@gmail.com</a> | <a href="mailto:vfloresb@uni.pe" target="_blank">vflores@utec.edu.pe</a><span style="font-size:12.8px"> | </span><a href="mailto:vfloresb@uni.pe" style="font-size:12.8px" target="_blank">vfloresb@uni.pe</a></div></div></div></div></div></div>
</div></div>