Expert opinion needed:-
I've got some good result by using moving average filter for signal processing from accelerometer data. My signal frequency is 100 samples/sec, i've used a window length of 100, so its a 1 sec window. Nevertheless after exhaustive online research and studying some papers, i found out that moving average filter produces some lag(delay) as it depends on future values. Can i use Moving average for online signal processing? I've used the movmean function in matlab. If there is any equivalent method without lag, please suggest me.