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


%   Copyright 2021-2022 The MathWorks, Inc.

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

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