MathWorks interview question

Coding challenges, questions on previous experience