How can i see calculated weights in each iteration of robustfit function in MATLAB?

2 次查看(过去 30 天)
Hi everyone: When i perform robust regression by using " robustfit" function in MATLAB it gives me output like regression coefficients .It is given in description that procedure of robustfit function is based on * iteratively reweighted least squares* which an iterative procedure of calculating the weights. My question is how can i observe the calculated parameters and weights in each iteration.Because output of this command does not show any description about number of iteration and calculated weights at each iteration.What setting can i do in running this * robustfit function* so that i am able to see calculated weights at each iteration? For illustration purpose you can use default bisquare weighting function and any random data on x and y.

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Linear and Nonlinear Regression 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by