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


%   Copyright 2016-2022 The MathWorks, Inc.

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

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