Regression Model Conversion to y = ax + b Form Function

What it does

The function regcon.m can be used to convert regression models to the y = ax + b form for use with unsclaed data required for many control systems. Normally, PLS and PCR models are stored with the regression vector as it is applied to the scaled data. The regcon.m function can convert models developed by the PLS_Toolbox functions modlmker.m or modlgui.m or from the individual pieces of the model, such as the regression vector, x and y block means, and x and y block variance scalings.

Requirements for running regcon

  • MATLAB 5.0
  • No other toolboxes required

Developed by:

Barry M. Wise
Eigenvector Research, Inc.

Download regcon.m

To get it, simply click on regcon.m for Mac, or regcon.m for PC. Move the file to a folder on your MATLAB path and you're done.

Return to MATLAB User Area.