14 #include "matrixlib.h"
16 #include <MatrixLib/MatrixLib.h>
46 void Initialize(
const ml_matrix& a,
const ml_matrix& b,
const ml_matrix& c,
const ml_matrix& d );
48 ml_matrix
Update(
const ml_matrix& u );
Definition: sc_filter.h:29
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.
Definition: sc_filter.cc:21
void SetState(const ml_matrix &x)
Set the state.
Definition: sc_filter.cc:34
ml_matrix Update(const ml_matrix &u)
Update the filter The output y is c*x + d*u.
Definition: sc_filter.cc:56
void Reset(void)
Reset the filter state x to zero.
Definition: sc_filter.cc:43