


% -*- texinfo -*-
% @deftypefn {Function File} {irsa_mdsp.m}
% @var{mdxp} = irsa_mdsp (@var{md}, @var{rd}, @var{N}, [@var{rfunc}])
%
% Generate @var{N} sampling points with a minimum distance @var{md} and
% an additional random distance @var{rd} with random distribution
% @var{rfunc}
%
% Input:
%
% @var{md} : Scalar -- minimum distance
%
% @var{rd} : Scalar -- mean of the random distance
%
% @var{N} : Scalar -- number of sampling points to generate
%
% @var{rfunc}: String -- random distribution function for the random
% part. Has to take the number of rows as the first and the number of
% columns as the second argument. Default is 'rand'.
%
% Output:
%
% @var{mdxp} : Columnvector -- sampling points with a minimum distance
%
% @emph{Note:}
%
% The first sampling point is 0 and the last @code{(N-1)*(md + rd)}.
% @end deftypefn