MathWorks interview question

sampling theorem