Nonlinear least square regression
1 次查看(过去 30 天)
显示 更早的评论
i have (x , y) data
the function between x and y is y = 0.392* (1 - (x / b1) .^ b2
i want to use nonlinear least square regression to obtain the values of b1 and b2
can any one help me with the structure of the Matlab program
thanks in advance
1 个评论
回答(1 个)
the cyclist
2013-5-27
If you have the Statistics Toolbox, then you can use the nlinfit() function.
Type
doc nlinfit
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Linear and Nonlinear Regression 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!