This code is for discrete-time state-feedback switching LPV control with separate or common Lyapunov functions for stability and local performance. Please refer to the following paper for using the code.
P. Zhao and R. Nagamune, "Discrete-Time State-Feedback Switching LPV Control with Separate Lyapunov Functions for Stability and Local Performance"," Accepted by American Control Conference, 2018.