This document is written by Jitkomut Songsiri. The tutorial is mostly summarized from A. Gilat, MATLAB: an introduction with applications, 3rd edition, John Wiley & Sons, 2008.