MathWorks interview question

Explain/write a recursive function.