MathWorks interview question

Give an example where you tackled with multiple responsibilities