MathWorks interview question

My recent project experience