Smooth A Signal With Moving Average Method
y = smooth2(x, n)
Input signal
Number of points used for averaging
Filtered signal
Smooth a signal by using moving average method with given number of points