MathWorks Interview Question

Math questions onsite very a bit difficult.