comparison scripts/optimization/fsolve.m @ 17245:7babcdb9bc13

Use ... instead of \ for line continuation marker. * plotimages.m, bsxfun.cc, cellfun.cc, __unimplemented__.m, importdata.m, textscan.m, edit.m, fsolve.m, sqp.m, __gnuplot_drawnow__.m, __marching_cube__.m, stemleaf.m, polyfit.m, z_test.m, z_test_2.m, test.m: Use ... instead of \ for line continuation marker.
author Stefan Mahr <dac922@gmx.de>
date Mon, 12 Aug 2013 17:36:54 +0200
parents 4efc0c1537df
children bc924baa2c4e
comparison
equal deleted inserted replaced
17244:9de751a10910 17245:7babcdb9bc13
132 132
133 function [x, fvec, info, output, fjac] = fsolve (fcn, x0, options = struct ()) 133 function [x, fvec, info, output, fjac] = fsolve (fcn, x0, options = struct ())
134 134
135 ## Get default options if requested. 135 ## Get default options if requested.
136 if (nargin == 1 && ischar (fcn) && strcmp (fcn, 'defaults')) 136 if (nargin == 1 && ischar (fcn) && strcmp (fcn, 'defaults'))
137 x = optimset ("MaxIter", 400, "MaxFunEvals", Inf, \ 137 x = optimset ("MaxIter", 400, "MaxFunEvals", Inf, ...
138 "Jacobian", "off", "TolX", 1e-7, "TolFun", 1e-7, 138 "Jacobian", "off", "TolX", 1e-7, "TolFun", 1e-7,
139 "OutputFcn", [], "Updating", "on", "FunValCheck", "off", 139 "OutputFcn", [], "Updating", "on", "FunValCheck", "off",
140 "ComplexEqn", "off", "FinDiffType", "central", 140 "ComplexEqn", "off", "FinDiffType", "central",
141 "TypicalX", [], "AutoScaling", "off"); 141 "TypicalX", [], "AutoScaling", "off");
142 return; 142 return;