State space filter. More...
Public Member Functions | |
void | Initialize (const ml_matrix &a, const ml_matrix &b, const ml_matrix &c, const ml_matrix &d) |
Initialize the filter with the state space matrices. | |
void | SetState (const ml_matrix &x) |
Set the state. | |
ml_matrix | Update (const ml_matrix &u) |
Update the filter The output y is c*x + d*u. | |
void | Reset (void) |
Reset the filter state x to zero. |
A state space filter. The filter is of the form
ml_matrix Filter::Update | ( | const ml_matrix & | u ) |
The state x = ax + b*u is stored.
u | Input |