MathWorks interview question

Computer problem that requires some thinking. See #2 above.