DetectionFilterUnnormalized:
--------------------------------------------------------------------------
Create a unnormalized detection filter for a fully measured system.
The filter is of the form
y[k] = c*x[k]
x[k+1] = a*x[k] + D*(m[k] - c*x[k]) + b*u[k]
r[k] = m[k] - c*x[k]
This filter is unnormalized.
Since version 9.
--------------------------------------------------------------------------
Form:
[r, x] = DetectionFilterUnnormalized( d, m, u, x )
--------------------------------------------------------------------------
------
Inputs
------
d (:) Detection filter
.g plant
.d gain matrix
m Measurements
u Inputs
x State
-------
Outputs
-------
r Residuals
x State
--------------------------------------------------------------------------
References: Meserole, J. S., "Detection Filters for Fault-Tolerant Control
of Turbofan Engines." MIT 1981.
--------------------------------------------------------------------------