diff --git a/matlab/numgrad3.m b/matlab/numgrad3.m index 3891e11c5..34dfa652c 100644 --- a/matlab/numgrad3.m +++ b/matlab/numgrad3.m @@ -1,4 +1,4 @@ -1function [g, badg, f0, f1, f2] = numgrad3(fcn,f0,x,epsilon,varargin) +function [g, badg, f0, f1, f2] = numgrad3(fcn,f0,x,epsilon,varargin) % Computes the gradient of the objective function fcn using a three points % formula if possible. %