Least squares method of estimation and removing of outliers
5 次查看(过去 30 天)
显示 更早的评论
Hello everyone! I have i=1...1000 samples and the system is described by y(i)=a1*y(i-1)+a2*y(i-2)+b*u(i-1) where u is our input and y is output .How can i apply the least square method for estimate a1,a2,b and remove the outliers before? Thank you for your help
0 个评论
回答(1 个)
Ajay Goyal
2016-1-6
Solve inverse of the problem and use stepwise linear regression (stepwiselm) or simply least square method (regress). Then generated equation can be inverted
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Linear and Nonlinear Regression 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!