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


%   Copyright 2021-2022 The MathWorks, Inc.

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

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