ABSTRACT

This chapter serves as a concise tutorial for MATLAB programming so that the codes can easily be understood without referring to any other source. MATLAB is both a programming language and a scientific computing environment. The main characteristics of MATLAB is to apply vectorized operations that enable the user to perform array operations by a single command, rather than using for or while loops for repeated operations among the array entries. Although MATLAB can be used as a standard programming language, its advantage comes into play during the code development phase of complicated algorithms involving vectors and matrices. Complex numbers containing real and imaginary parts and arrays of scalar or complex functions can be stored in MATLAB as well. Different from standard programming languages, MATLAB does not require any type declaration or dimension statement while creating variables.