MRC.m
SYNTAX: controller = MRC(plant,ref_model)
PURPOSE: Model reference control calculation. Given a model of the plant
and a model of the desired closed loop response, compute a feedback
controller that gives that closed loop response.
This code has been tested, but not extensively.
INPUT:
plant = SISO model of plant (Control Toolbox format)
ref_model = SISO model of desired response (Control Toolbox format)
OUTPUT:
controller = derived controller in (CT format):
inputs = [ref, measured], output = input to plant
RESTRICTIONS:
plant: Must be stable with no (closed) right half plane zeros.
ref_model: Must be stable with no (closed) right half plane zeros and
same relative degree as plant.
METHOD: Based on algorithm for Model Reference Control in W.S.Levine,
The Control Handbook, CRC press, 1996
Dependencies