This document presents a comprehensive solution to a digital control systems assignment, utilizing MATLAB for analysis and design. The solution covers various aspects of digital control, including the controllability of systems, characteristic equations, and the design of controllers to achieve desired closed-loop pole locations. The assignment delves into the implementation of LQR and PID controllers, providing MATLAB code for their design and performance evaluation. Furthermore, it explores the application of Jury's test for stability analysis, root locus techniques for controller design, and Nyquist stability criteria. The solution also includes step response analysis, bode plots, and the design of lead and lag controllers. The assignment demonstrates the application of these concepts to various control problems, providing a thorough understanding of digital control system design and analysis using MATLAB.