[par1 ... parN yfit] = fn_fit(x,y,@(x,par1,..,parN)fun,startpoint) [a b yfit] = fn_fit(x,y,'affine')
Fit the parameters of a given function
Thomas Deneux
Copyright 2008-2017
Published with MATLAB® R2015a