function varargout = movmean(varargin)
%MOVMEAN Moving average value for codistributed data.
%   Y = MOVMEAN(X,K)
%   Y = MOVMEAN(X,[NB NF])
%   Y = MOVMEAN(...,DIM)
%   Y = MOVMEAN(...,MISSING)
%   Y = MOVMEAN(...,'Endpoints',ENDPT)
%   Y = MOVMEAN(X,K,...,'SamplePoints',T)
%   Y = MOVMEAN(X,[NB NF],...,'SamplePoints',T)
%   
%   Example:
%   spmd
%      t = 1:10;
%      x = codistributed([4 8 6 -1 -2 -3 -1 3 4 5]);
%      yc = movmean(x,5);
%      plot(t,x,t,yc);
%   end
%   
%   See also MOVMEAN, codistributed.


%   Copyright 2016-2022 The MathWorks, Inc.

narginchk(2, inf);
nargoutchk(0, 1);

[varargout{1:nargout}] = movfunCommon(@movmean, varargin{:});
end
