Nonlinear least square regression
1 次查看(过去 30 天)
显示 更早的评论
Hi all i have 17 observation (x and y) the relation between them as follows
y = 0.392 * (1 - (x / J)) ^ i
i want to use nonlinear least square regression to know J and i
Thanks in advance
0 个评论
采纳的回答
Eli Duenisch
2013-5-23
编辑:Eli Duenisch
2013-5-23
Do you have the statistics toolbox installed? It supports nonlinear regression - look for NonLinearModel.fit() in the docs.
5 个评论
Tom Lane
2013-5-24
Try NonLinearModel.fit capitalized just that way. This should work in the most recent releases of MATLAB. Otherwise try nlinfit.
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!