MathWorks interview question

3 coding problems. 2 DP programming problems