Documente Academic
Documente Profesional
Documente Cultură
By,
Premanand P.Ghadekar
7/20/2012
Outline
7/20/2012
Syllabus
7/20/2012
INTRODUCTION
MATLAB-Matrix Laboratory. MATLAB is a Software package for high performance numerical computations & visualization. It provides an interactive environment with hundreds of built-in functions for technical computation, graphics, & animation.
7/20/2012
WHY MATLAB
Easy of use. MATLAB is an interactive system whose basic data element is an array that does not require dimensioning. MATLAB is high performance language for technical computing. It provides various Toolboxes ex-DSP,IP,FUZZY Logic etc. It also used to create GUI. More than 500 mathematical & Engineering functions. MATLAB code & data formats are Platform Independent. MATLAB programs can be converted to C/C++.
7/20/2012
Opening Matlab
7/20/2012
&
7/20/2012
MATLAB is platform independent. It work on Windows platform as well as on Unix platform. System requirement
Pentium II or later version,Widows95, windows98 or later version, CD-ROM, 256 MB RAM.
7/20/2012
HELP
Online help is available. MATLAB demos are available. Help for program, m-file, directory name, inbuilt function is available.
7/20/2012
MATLAB FUNDAMENTALS
MATLAB Windows MATLAB File types. Creating Directory & saving files. Notations, Syntax & Operations Some Built-in functions Some useful commands
7/20/2012
10
MATLAB WINDOWS
Command Window-Main window, Characterized by command prompt >>, All commands are typed in this
windows. It contains three other smaller windows.
7/20/2012
M-Files Standard ASCII text files. There are two types- Script files, Function file. Mat Files-Binary Data files. Mat files are created by MATLAB when you save command. Fig Files-Binary figure files Mex Files-MATLAB callable Fortran & C-programs. P-file
7/20/2012
12
MATLAB
Built in Functions
Graphics 2-D 3-D Animation Audio & Video Computations Linear Algebra Data Analysis Signal Processing
Toolboxes External Interface (Mex-Files) Interface with C , Java & Fortran Programs
7/20/2012
14
Data Types
7/20/2012
15
Variables
Have not to be previously declared Variable names can contain up to 63 characters Variable names must start with a letter followed by letters, digits, and underscores. Variable names are case sensitive
16
7/20/2012
ans -Default variable name for results pi -Value of eps -Smallest incremental number inf -Infinity NaN -Not a number e.g. 0/0 realmin -The smallest usable positive real number realmax -The largest usable positive real number
17
7/20/2012
7/20/2012
18