MathWorks Interview Question

nothing difficult so far