MathWorks interview question

MATLAB coding, involves syntax and index problem