MathWorks interview question

maths, logistic, coding (algorithm or matlab)