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


%   Copyright 2021-2022 The MathWorks, Inc.

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

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