ABSTRACT

MATLAB provides a very powerful high-level programming language, embedded in a computational environment, known as m-language. A very important advantage, when compared to other programming languages such as C, FORTRAN, and VisualBasic, to name a few, is that variables do not have to be defined at the beginning of the program, but rather they are defined automatically as they are written for the first time in the program. Another very important advantage is that all the instructions used in MATLAB can be used in the program. Thus, instructions such as the ones used for differentiation, integration, matrix inversion, solve differential equations, etc., can be used in the program. This makes the m-language much more powerful than any other programming language. In this chapter we cover many of the instructions used to write programs using m-language and give some examples.