Intro PDF
Intro PDF
MATLAB’s built in functions provide excellent tools for linear algebraic computations data
analysis, signal processing, optimization, numerical solution of scientific computations. There
are numerous functions for two dimensional and three dimensional graphics as well as for
animations. The basic building block of MATLAB is matrix. The fundamental data type is
array, vector, scalar, real matrix and complex matrix are all automatically handled as special
cases of basic data types. The vectorised commands or codes run much faster in MATLAB.
BASICS OF MATLAB
MATLAB WINDOWS: On almost all systems MATLAB work through three basics windows.
MATLAB Desktop: This is where the MATLAB puts us when we launch it.
MATLAB desktop by default consist of following sub-windows:
Current Directory: This is where all files from the current directory are listed. We can
do file navigation here to see the options. Click the right button of mouse after selecting
a file. We can run M-files, remove them, delete them etc.
Work Space: This sub-window lists all variables that we have generated so far and
shows their types and sizes. We can do various things with phase variables such as
plotting and then using the right button on the mouse to select our option.
Figure Window: The output of all graphics, commands typed in the commands
windows are flushed to the graphics or figure window, a separate gray window with
white background colour. The user can create as many figure windows as the system
memory will allow
Editor Window: This is where we write, edit, create and save our programs in files
called M-files by using any text editor to carry out these tasks. On most systems
MATLAB provides its own built in editor. However we can use our editor by typing the
standard file editing commands that we normally use our system.
ONLINE HELP
Online documentation- MATLAB provides online help for all its built in functions
and programming language constructs such as help, lookfor, helpdesk and helpwin.
Demo- MATLAB has a demonstration program that shows many of its features which
includes type demo at MATLAB prompt to invoke demonstration programs and follow
the instruction on the screen.