Nonlinear least square regression
1 view (last 30 days)
Show older comments
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 Comment
Answers (1)
the cyclist
on 27 May 2013
If you have the Statistics Toolbox, then you can use the nlinfit() function.
Type
doc nlinfit
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!