MathWorks Interview Question

Questions on Arithmetic Progressions, Geometric Progressions and probability was unexpected. I was expecting matrices,linear algebra or calculus.