perform_alpert_transform_2d_s...perform_alpert_transform_2d_sliced - perform a forward 2D Alpert transform. You can specify a number of slice in the Y direction.
function v = getoptions(options, name, v, mendatory)
% getoptions - retrieve options parameter
%
% v = getoptions(options, 'entry', v0);
% is equivalent to the code:
% if isfield(options, 'entry')
% v = options.entry;
% else
% v = v0;
% end
%
% Copyright (c) 2007 Gabriel Peyre
if nargin<4
mendatory = 0;
end
if isfield(options, name)
v = eval(['options.' name ';']);
elseif mendatory
error(['You have to provide options.' name '.']);
end