MATLAB, an abbreviation for Matrix Laboratory, is an interactive matrix-based program for scientific and engineering calculations. The base program together with a toolbox (m-files) meant for a particular topic extends the capability to use MATLAB in various fields such as Control Systems, Statistics, Fuzzy Logic, Neural Network and so on.
A MATLAB session can be started on most systems by executing the command MATLAB. To end the MATLAB session simply execute the command exit or quit.
A MATLAB program line that begins with ‘%’ are comments or remarks which are not executed. In the event of comments or remarks being more than one line, each line must begin with %.
A semicolon at the end of a statement ...