How to use least squares fit with bisquare weights
6 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I am trying to fit a line/curve to a plot that looks quite noisy. I think it looks like a straight line or a very light curve. I read about least squares fitting with bisquare weights and I am trying that http://www.mathworks.com/help/curvefit/least-squares-fitting.html
Problem is I think the sample code doesnt provide the sample for the bisquare weights so im quite confused as to how I can implement it.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/159166/image.png)
0 commentaires
Réponse acceptée
KSSV
le 22 Déc 2016
You can use polyfit to fit your data. You can refer the following link: https://in.mathworks.com/matlabcentral/answers/27600-linear-fit.
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Linear and Nonlinear Regression dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!