Stabilization and Guaranteed Cost Control of Discrete-Time Singular Piecewise-Affine Systems with Time Delay