Hello, so, I already know how to implement a Butterworth filter and use it for some stored data. However, now I will have some data comming in my computer by network and I would like to filter it as I am receving it, in order to be able to process it online. This seems quite easy in simulink, but I do not know how to do it in matlab code. The function request to have a signal of at least 6 samples, so my only idea is to create a buffer with the last 5 samples, take the incomming one (6th), and filter the buffer... any other idea would be very much appreciated. Thank you!