Home > freetb4matlab > irsa > irsa_mdsp.m

irsa_mdsp

PURPOSE ^

% @var{mdxp} = irsa_mdsp (@var{md}, @var{rd}, @var{N}, [@var{rfunc}])

SYNOPSIS ^

function mdxp = irsa_mdsp( md, rd, N, rfunc )

DESCRIPTION ^

% -*- 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

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Fri 22-May-2009 15:13:00 by m2html © 2003