%This function implements the gaussian smooth for an histogram an then it %can be used to find the thershold. It uses the COUNTS variable that is %returned by the imhist funcion an w is the size of the window that you %want to use. It has to be a od
C# 实现 yy = smooth(y) smooths the data in the column vector y using a moving average filter. Results are returned in the column vector yy. The default span for the moving average is 5. The first few elements of yy are given by yy(1) = y(1) yy(2) = (y