Sollicitatievraag bij MathWorks

How would you go about debugging a complex MATLAB script that is producing unexpected results?