MathWorks Interview Question

Unexpected - asked to read small code