Piecewise linear model
Versión 2.1.0 (3 KB) por
Satoshi Okazaki
Performs n-segmented linear regression with least squares.
[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).
Citar como
Satoshi Okazaki (2024). Piecewise linear model (https://www.mathworks.com/matlabcentral/fileexchange/124190-piecewise-linear-model), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Se creó con
R2022b
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS LinuxEtiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.