Regression/linear equation solving
이전 댓글 표시
I have a set of over defined equations that do not fit perfectly. The problem resembles this simpler problem in nature:
x1 = 0.8 + x2,
x1 = 1.2 + x2
x2 = 1.5 + x3
x3 = -3 + x1
x4 = -1.5 + x2
x4 = -1.7 +x2
I'm trying to solve for the x's, and they have values which are relative to one another, so i can assume for example that one of the x's is 0.
Because this is over defined, I would need to do a regression of some sort.
I'm feeling a bit foggy today, but I'm sure there's got to be a way to do this in MATLAB. Can anyone provide me with some sample code?
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Spline Postprocessing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!