Pregunta de entrevista de MathWorks

Difference between nested and sub functions in MATLAB