This is a very challenging problem. You'll first have to learn MATLAB before you can tackle such a difficult problem, so I refer you to this: http://www.mathworks.com/matlabcentral/answers/8026-best-way-s-to-master-matlab.
Then, once you know MATLAB, pick an algorithm from here http://iris.usc.edu/Vision-Notes/bibliography/contentschar.html#OCR,%20Document%20Analysis%20and%20Character%20Recognition%20Systems and code it up. Good luck.
You should also look over the FAQ, particularly this one: http://matlab.wikia.com/wiki/FAQ#Can_you_program_up_the_algorithm_in_this_article_for_me_and_explain_it_to_me.3F
