I have data that I would like to fit to 2 columns, X and Y, such that the model is
DataX = 1*X + k*Y +constant solving for the K and contacts. Actually I am really interested in the residuals between DataX (measured) position and the design X. The problem is related to a coordinate system matching.
I see how to constrain slope in a single variable fit, but how do I do it with a multi-variable problem?