Commit 7374d90a authored by Simone Liuzzo's avatar Simone Liuzzo

added missing function from matutil repository

parent c373256a
function varargout=nselect(step,func,i,varargin)
%NSELECT decimate calls to a function
%
persistent is
if i==1
is=step-1;
end
if is==0
[varargout{1:nargout}]=func(i,varargin{:});
is=step;
else
varargout=cell(nargout,1);
end
is=is-1;
end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment