MATLAB Tutorial : For the beginners in MATLAB, this example code will provide a great jump start. The code has comprehensive comments to elaborate the functionality explicitly.