フィルターのクリア

Robust regression

3 ビュー (過去 30 日間)
fcarl
fcarl 2011 年 6 月 29 日
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!

回答 (3 件)

the cyclist
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.

fcarl
fcarl 2011 年 6 月 30 日
I think WFUN is the weighting function for the "penalization" of the residuals!? Or am I wrong?

the cyclist
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.]

カテゴリ

Help Center および File ExchangeRegression についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by