


% -*- texinfo -*-
% @deftypefn {Function File} {@var{conn} = } conndef (@var{num_dims}, @var{type})
% Creates a connectivity array.
%
% @code{conn=conndef(num_dims,type)} creates a connectivity array
% (@var{CONN}) of @var{num_dims} dimensions and which type is defined
% by @var{type} as follows:
% @table @code
% @item minimal
% Neighbours touch the central element on a (@var{num_dims}-1)-dimensional
% surface.
% @item maximal
% Neighbours touch the central element in any way. Equivalent to
% @code{ones(repmat(3,1,@var{num_dims}))}.
% @end table
%
% @end deftypefn