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


%   Copyright 2021-2022 The MathWorks, Inc.

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

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