Matlab
Matlab
1 OBJECTIVES
1.1.1 CONTENT
Introduction
MATLAB is a high-level language and interactive environment for numerical computation, visualization,
and programming. Using MATLAB, you can analyze data, develop algorithms, and create models and
applications. The language, tools, and built-in math functions enable you to explore multiple approaches
and reach a solution faster than with spread sheets or traditional programming languages, such as C/C++
or Java. You can use MATLAB for a range of applications, including signal processing and
communications, image and video processing, control systems, test and measurement, computational
finance, and computational biology. More than a million engineers and scientists in industry and
academia use MATLAB, the language of technical computing.
History
Developed primarily by Cleve Moler in the 1970'sDerived from FORTRAN subroutines
LINPACK and EISPACK, linear and eigenvaluesystems.
Developed primarily as an interactive system to access LINPACK and EISPACK.
Gained its popularity through word of mouth, because it was not socially distributed.
Rewritten in C in the 1980's with more functionality, which include plotting routines.
The Math Works Inc. was created (1984) to market and continue development of
MATLAB.
Strengths
MATLAB may behave as a calculator or as a programming language
MATLAB combine nicely calculation and graphic plotting.
MATLAB is relatively easy to learn
MATLAB is interpreted (not compiled), errors are easy to fix
MATLAB is optimized to be relatively fast when performing matrix operations
MATLAB does have some object-oriented elements
Weaknesses
MATLAB is not a general purpose programming language such as C, C++, or FORTRAN
MATLAB is designed for scientific computing, and is not well suitable for other applications
MATLAB is an interpreted language, slower than a compiled language such as C++
MATLAB commands are specific for MATLAB usage. Most of them do not have a direct
equivalent with other programming language commands
Competition
One of MATLAB's competitors is Mathematica the symbolic computation program.MATLAB is more
convenient for numerical analysis and linear algebra. It is frequentlyused in engineering community.
Mathematica has superior symbolic manipulation, making it popular among physicists.
There are other competitors: Scilab, GNU Octave, and Rlab
Key Features
It is a high-level language for numerical computation, visualization and application
development.
It also provides an interactive environment for iterative exploration, design and problem
solving.
It provides vast library of mathematical functions for linear algebra, statistics, Fourier
analysis, filtering, optimization, numerical integration and solving ordinary differential
equations.
It provides built-in graphics for visualizing data and tools for creating custom plots.
MATLAB's programming interface gives development tools for improving code quality,
maintainability, and maximizing performance.
It provides tools for building applications with custom graphical interfaces.
It provides functions for integrating MATLAB based algorithms with external
applications and languages such as C, Java, .NET and Microsoft Excel.
Uses of MATLAB
MATLAB is widely used as a computational tool in science and engineering encompassing the fields of
physics, chemistry, math and all engineering streams. It is used in a range of applications including:
Signal processing and Communications
Image and video Processing
Control systems
Test and measurement
Computational finance
Computational biology
Understanding the MATLAB Environment
MATLAB development IDE can be launched from the icon created on the desktop. The main working
window in MATLAB is called the desktop. When MATLAB is started, the desktop appears in its default
layout:
Workspace - The workspace shows all the variables created and/or imported from files.
Command History - This panel shows or rerun commands that are entered at the command line.