Skip to content
Snippets Groups Projects
Commit cd882aeb authored by Stéphane Adjemian's avatar Stéphane Adjemian
Browse files

Removed the loop for building the recursive expression to be evaluated.

parent a48fde3a
Branches
No related tags found
No related merge requests found
......@@ -59,10 +59,7 @@ if ~isequal(do_id,4)
end
% Build the recursive expression.
EXPRESSION = [];
for i=5:nargin
EXPRESSION = [EXPRESSION, varargin{i}];
end
EXPRESSION = char([varargin{5:end}]);
% Get all the variables involved in the recursive expression.
variables = regexpi(EXPRESSION, '\w*\(t\)|\w*\(t\-\d\)|\w*\(t\+\d\)','match');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment