Introduction - If you have any usage issues, please Google them yourself
this is matlab code for estimating the static linear system(system function is time variable) with Recursive Least Squre and 2 solutions for better result.
1- using the Covariance Matrix Reseting in a specefic time.
2-using the RLS with Forget Factor
this program is written by matlab 7.0.
Here we want to estimate the below function:
1-u^2+(1+tansig(0.1*(t-375)))*u^3+u^5+3*u^7
finally,there are plots for showing results.