- 积分
- 13250
- 威望
- 589
- 金钱
- 4
- 阅读权限
- 100
- 性别
- 男
- 来自
- Aachen
- 在线时间
- 2336 小时
|
6#
发表于 2005-12-8 15:10
| 只看该作者
the function in matlab is ....polyfit.....
the general idea of LSQ is just based on the form
Y=phi*theta
Y and phi are the measurement matrix
theta is the parameters matrix
start from a initial value of theta, we get
Y_head=phi(t_0)*theta(t_0)
minimize the deviation Error=Y-Y_head, we get the estimated theta(t_1) for the next time step,, and so on. so generally you should rewrite the equations in the form of Y_head=phi(t_0)*theta(t_0), firstly . even for the ODE or PDE equations, you should also discretize them as the first step of the estimation process. |
|