MathWorks Interview Question

Different ways to write a function in Matlab?