www.gusucode.com > curvefit 案例源码程序 matlab代码 > curvefit/CreateFitOptionsforLinearLeastSquaresExample.m

    %% Create Fit Options for Linear Least Squares  

% Copyright 2015 The MathWorks, Inc.


%%  
options = fitoptions('Method', 'LinearLeastSquares')