Image Processing Using MATLAB Codes Dhananjay K. Theckedath
(an acronym for MATrix LABoratory) is a special-purposecomputer program optimised to perform engineering and scientific calculations.MATLAB is a powerful high-level language and is very easy to use. The MATLABlibrary has an extensive set of predefined functions, which make it much easier comparedto languages such as FORTRAN or C.To get stared with MATLAB, one needs to know how to manipulate and represent data.One also needs to know how to find information about available functions and finallyhow to write our own programs.
A.1 Starting MATLAB
To start MATLAB, double click on the MATLAB icon on the desktop
The mainMATLAB window (
) with the command line prompt “
” will appear on screen. MATLAB is an interpreted language, which means that the instructions thatwe give are interpreted by the computer directly as opposed to C in which we first need tocompile the instruction before it can be executed by the computer.There are two ways to give instructions in MATLAB
On the command line after the prompt “
”. For example, we can directly write>> help
and the following details will appear on the command window.