MathWorks interview question

previous project