Solid state physics, the study and prediction of the fundamental physical properties of materials, forms the backbone of modern materials science and has many technological applications. The unique feature of this text is the MATLABR-based computational approach with several numerical techniques and simulation methods included. This is highly effective in addressing the need for visualization and a direct hands-on approach in learning the theoretical concepts of solid state physics. The code is freely available to all textbook users.