Optimal Fit: Two Conn. Lines w/ Diff. Slopes
조회 수: 2 (최근 30일)
이전 댓글 표시
Hello,
If my data are distributed like two lines who intersect i.e. one line goes until some point, and at that point another line emerges with a different slope (they share the same sign).
Is there a way to find
- equations of each of the lines
- an estimate of the crossover x-value which lies between each curve
- a fit goodness measure (Sigma, or chisq?)
I've been looking online for awhile online and I haven't found anything. Any help would be much appreciated.
Thanks,
Michael
댓글 수: 0
답변 (1개)
Matt J
2013년 11월 16일
So basically you're looking for a 1st order spline fit? This FEX submission would be applicable
참고 항목
카테고리
Help Center 및 File Exchange에서 Interpolation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!