You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
[coef,breakPt,R2] = fitBogartz(x,y,verbose)
performs two-segmented linear regression described in Bogartz (1968).
R. S. Bogartz (1968): "A least squares method for fitting intercepting line segments to a set of data points." Psychol Bull 70(6), 749-755.
[coef,breakPt,R2] = piecewiselm(x,y,n)
performs n-segmented linear regression. This is an extension of two-segmented linear regression described in Bogartz (1968).
Cite As
Satoshi Okazaki (2026). Piecewise linear model (https://www.mathworks.com/matlabcentral/fileexchange/124190-piecewise-linear-model), MATLAB Central File Exchange. Retrieved .
General Information
- Version 2.1.0 (3 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
