Introduction to matlab and its applications