Piecewise Linear Curve fitting function?

5 次查看(过去 30 天)
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 个评论
Star Strider
Star Strider 2012-8-10
编辑:Star Strider 2012-8-11
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?

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Linear and Nonlinear Regression 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by