MathWorks Interview Question

Very Straight forward so far.