Pergunta de entrevista da empresa MathWorks

Difference between nested and sub functions in MATLAB