MathWorks interview question

Writing small pieces of code with MATLAB.