User`s guide

Table Of Contents
reg
11-178
Example Given a continuous-time s tate-space model
sys = ss(A,B,C,D)
with seven outputs and four inputs, suppose you have designed:
A state-feedback controller gain
K using inputs 1, 2, and 4 of the plant as
control inputs
A state estimator with gain
L using outputs 4, 7, and 1 of the plant as
sensors, and input 3 of the plant as an additional known input
You can then connect the controller and estimator and form the complete
regulation system by
controls = [1,2,4];
sensors = [4,7,1];
known = [3];
regulator = reg(sys,K,L,sensors,known,controls)
See Also estim Form state estimator given estimator gain
kalman Kalman estimator design
lqgreg Form LQG regulator
lqr, dlqr State-feedback LQ regulator
place Pole placement