solving general linear models
Show older comments
I need to solve a general linear model in the form of
Y = X*C+E to calibrate a load-cell. I can not measure the individual force and torques independently, such that I could use functions like regress().
The model looks like this : [F_x,F_y,F_z,T_x,T_y,T_z;... n observations] = [V1,V2,V3,V4,V5,V6;...n observations]*C + Error
What is the best solution in Matlab to perform a linear regression and solve for the 6x6 calibration matrix C?
I don't want to use the pseudo-inverse, as the voltage measurements might be erroneous.
Accepted Answer
More Answers (3)
Tom Lane
on 4 Apr 2012
I think you want
C = X\Y
if you just need estimates, no other statistical information. If not, please explain specifically what else you need.
The mvregress function is another possibility.
tang
on 4 Apr 2012
0 votes
Hi Richard, do you have try the command regress? If the quality of data is good,the outcome may be ok
Richard
on 4 Apr 2012
0 votes
Categories
Find more on Linear Predictive Coding in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!