UpdateResponse - Replace model in response
Syntax
UpdateResponse(model)
M = UpdateResponse( M , R); updates the response specified by R
Description
This is a method of mbcmodel.model. This
takes the model and places it back into the response it came from.
Appropriate action is taken if a refit is necessary because you have
modified either the model, response data or model data in the interim.
For example, if you have changed the model type, the new model is
fitted to the response data. If you have changed the response data
(e.g. removed an outlier), the model is fitted to the new response
data.
Note that when changing the model type or settings (using the
ModelSetup command) the response is not refitted until you call UpdateResponse.
If you have changed the model by using StepwiseRegression you must
call UpdateResponse.
UpdateResponse( M )
updates the model in the response associated with the model.
M = UpdateResponse( M , R);
updates the response specified by R.
Examples
UpdateResponse(knot);
See Also
ModelSetup
 | UpdateDesign | | UpdateResponseFeatures |  |
Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
Get the Interactive Kit