  Optimal tracking in switched systems with controlled subsystem and
Discrete-time (DT) dynamics is investigated. A feedback control policy is
generated such that a) the system tracks the desired reference signal, and b)
the optimal switching time instants are sought. For finding the optimal
solution, approximate dynamic programming is used. Simulation results are
provided to illustrate the effectiveness of the solution.
