MathWorks interview question

Different ways to write a function in Matlab?