15-06-2012, 03:37 PM
Introduction to MATLAB
MATLAB.ppt (Size: 822.5 KB / Downloads: 140)
What is MATLAB?
MATLAB provides a language and environment for numerical computation, data analysis, visualisation and algorithm development
MATLAB provides functions that operate on
Integer, real and complex numbers
Vectors and matrices
Structures
1 MATLAB Functionality
Built-in Functionality includes
Matrix manipulation and linear algebra
Data analysis
Graphics and visualisation
…and hundreds of other functions
Add-on toolboxes provide*
Image processing
Signal Processing
Optimization
Genetic Algorithms
…* but we have to pay for these extras
MATLAB paradigm
MATLAB is an interactive environment
Commands are interpreted one line at a time
Commands may be scripted to create your own functions or procedures
Variables are created when they are used
Variables are typed, but variable names may be reused for different types
Basic data structure is the matrix
Matrix dimensions are set dynamically
Operations on matrices are applied to all elements of a matrix at once
Removes the need for looping over elements one by one!
Makes for fast & efficient programmes .
Window Components
Command Prompt – MATLAB commands are entered here.
Workspace – Displays any variables created (Matrices, Vectors, Singles, etc.)
Command History - Lists all commands previously entered.
Double clicking on a variable in the Workspace will open an Array Editor. This will give you an Excel-like view of your data.