Piecewise Linear Curve fitting function?
4 views (last 30 days)
Show older comments
Hi there, i would like to know if there is an inbuilt Matlab function that curve fits data in a piecewise linear fashion and produces piecewise linear functions as the output?
Regards
1 Comment
Star Strider
on 10 Aug 2012
Edited: Star Strider
on 11 Aug 2012
One option might be multiple linear regression with a matrix of independent variables and a matrix of the same size of dependent variables, fitting the same parameters vector to all of them. Is that what you want to do?
What are your data? How ‘piecewise’ are they? What information (other than the obvious parameter estimates and related statistics) do you want from the regression?
Answers (0)
See Also
Categories
Find more on Linear and Nonlinear Regression in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!