MathWorks Interview Question

Everything was too basic