This repository contains the Matlab code for generating the optimal discrete-time references to optimally follow a given trajectory.
This code is related to the following publication
E. Bini, A. V. Papadopoulos, J. Higgins, N. Bezzo, "Optimal Reference Tracking for Sampled-Data Control Systems", Proceedings of the 61st IEEE Conference on Decision and Control (CDC), 2022.
Videos related to the simulation presented in the paper are available at
Just
- open Matlab,
- launch
main_first_full_script.m
and - read it, understand it, modify it as in usual Matlab style :-)