Piecewise linear model

版本 2.1.0 (3.0 KB) 作者: Satoshi Okazaki
Performs n-segmented linear regression with least squares.
326.0 次下载
更新时间 2023/2/20

查看许可证

[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).

引用格式

Satoshi Okazaki (2024). Piecewise linear model (https://www.mathworks.com/matlabcentral/fileexchange/124190-piecewise-linear-model), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2022b
兼容任何版本
平台兼容性
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
2.1.0

piecewiselm.m: display progress

2.0.0

add piecewiselm.m

1.0.0