This example shows how to create 3D surface plots in MATLAB using mesh and surf. First, vectors x and y are created from -2 to 2 with step 0.5. Then meshgrid creates matrices X and Y holding all grid points. Next, Z is calculated as the sum of squares of X and Y elements. The mesh function draws a wireframe plot of the surface, while surf draws a colored surface plot. The code uses element-wise power .^ to square each element of X and Y. The execution table traces each step, showing variable values and plot actions. Key moments clarify why meshgrid is needed, the difference between mesh and surf, and the importance of element-wise operations. The visual quiz tests understanding of Z's meaning, when plots appear, and how changing step size affects variables. This helps beginners see how MATLAB builds and displays 3D surfaces step-by-step.