Robust regression
2 次查看(过去 30 天)
显示 更早的评论
Hi,
I want to do robfit() but I want to fit an exponential function. Is there any option for robfit to do this?
Thanks for your efforts!
0 个评论
回答(3 个)
the cyclist
2011-6-29
A scan of the documentation for the robustfit() function suggests to me that that is not a default option, but that you could specify WFUN as your own exponential function.
0 个评论
the cyclist
2011-6-30
You can do a robust fit to an exponential function by using the nlinfit() function with the 'Robust' option set to 'on'. (You can set the weight function with the 'WgtFun' parameter.)
[Sorry for my other, wildly inaccurate, answer. You might want to change your "Answer" to a comment on my other answer. It will be less confusing to future readers.]
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Regression 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!