www.gusucode.com > matlab 案例源码 matlab代码程序 > matlab/SpecifyNormalizationForMovingStandardDeviationExample.m

    %% Specify Normalization for Moving Standard Deviation
% Compute the three-point centered moving standard deviation of a row vector and
% normalize each standard deviation by the number of elements in the window.
A = [4 8 6 -1 -2 -3 -1 3 4 5];
M = movstd(A,3,1)