From charlesreid1

Once you download the .mat file associated with a response surface, you will see two variables:

  • model
    • matrix of size $ N_{vars} \times N_{polynomial terms} $
    • number of columns is equal to the number of input variables $ N_{vars} $
    • number of rows is equal to the number of terms in the polynomial response surface $ N_{polynomial terms} $
    • variable order is as follows:
      • Mass flowrate $ \dot{m} $
      • Reaction rate $ k(T) $
      • Mixing length $ L_{mix} $
      • Measurement location 1 $ z_1 $
      • Measurement location 2 $ z_2 $
      • Measurement location 3 $ z_3 $
  • response_surface
    • cell object that results from Matlab's regstats() function
    • polynomial coefficients corresponding to each row of model object are contained in response_surface.beta
    • covariance matrix is stored in response_surface.covb
    • R-squared and adjusted R-squared values stored in response_surface.rsquare and response_surface.adjrsquare, respectively
    • mean square error is contained in response_surface.mse

See the Matlab regstats() help page for more information: http://www.mathworks.com/help/toolbox/stats/regstats.html

Example of how to use this information to compute the value of a response surface is here: EvaluateResponseSurface.m