Removed the loop for building the recursive expression to be evaluated.
parent
4da4623c94
commit
e16e05a50d
|
@ -59,10 +59,7 @@ if ~isequal(do_id,4)
|
||||||
end
|
end
|
||||||
|
|
||||||
% Build the recursive expression.
|
% Build the recursive expression.
|
||||||
EXPRESSION = [];
|
EXPRESSION = char([varargin{5:end}]);
|
||||||
for i=5:nargin
|
|
||||||
EXPRESSION = [EXPRESSION, varargin{i}];
|
|
||||||
end
|
|
||||||
|
|
||||||
% Get all the variables involved in the recursive expression.
|
% Get all the variables involved in the recursive expression.
|
||||||
variables = regexpi(EXPRESSION, '\w*\(t\)|\w*\(t\-\d\)|\w*\(t\+\d\)','match');
|
variables = regexpi(EXPRESSION, '\w*\(t\)|\w*\(t\-\d\)|\w*\(t\+\d\)','match');
|
||||||
|
|
Loading…
Reference in New Issue