Least squares method of estimation and removing of outliers
11 views (last 30 days)
Show older comments
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 Comments
Answers (1)
Ajay Goyal
on 6 Jan 2016
Solve inverse of the problem and use stepwise linear regression (stepwiselm) or simply least square method (regress). Then generated equation can be inverted
0 Comments
See Also
Categories
Find more on Regression in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!