Appendix 2

Matlab Fundamentals

A2.1  INTRODUCTION

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 ...

Get Control Systems Engineering, 3rd Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.