2016. — 186 p.
By properly combining all the objects defined in MatLAB, according to the rules of syntax of the program, you can build useful mathematical programming code. Programs usually consist of a series of instructions in which values are calculated, are assigned names and are reused in further calculations. As in programming languages like C or FORTRAN, in MatLAB you can write programs with loops, control flow and conditionals. MatLAB can write procedural programs, i.e., it can define a sequence of standard steps to run. As in C or Pascal, a Do, For, or While loop can be used for repetitive calculations. The language of MatLAB also includes conditional constructs such as If–Then–Else. MatLAB also supports different logical operators, such as AND, OR, NOT and XOR. MatLAB supports procedural programming (with iterative processes, recursive functions, loops, etc.), functional programming and object-oriented programming.