Pergunta de entrevista da empresa MathWorks

How would yo check whether a string is palindrom or not..?