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

1 view (last 30 days)
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.

Answers (0)

Community Treasure Hunt

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

Start Hunting!