您在這裡

Performing Linear Regression

12 十月, 2015 - 10:07

Regression analysis with MATLAB is easy. The MATLAB Basic Fitting GUI allows us to interactively to do "curve fitting" which is a method to arrive at the best "straight line" fit for linear equations or the best curve fit for a polynomial up to the tenth degree. The procedure to perform a curve fitting with MATLAB is as follows:

  1. Input the variables,
  2. Plot the data,
  3. Initialize the Basic Fitting GUI,
  4. Select the desired regression analysis parameters.