Welcome to my Presentation
Presentation Topics:
INTRODUCTION TO MATLAB
Presented by Dipankar Kumar Sarkar
Lecturer
Department of Mathematics
BSMRSTU,Gopalganj-8100,Bangladesh
INTRODUCTION TO MATLAB
WHAT IS MATLAB ?
MATLAB is a high-performance language for numerical
computation, visualization, and programming. MATLAB
stands for MATRIX LABORATORY.
Matlab
High Level
Languages such as
C, Pascal etc.
Assembly
A high-level programming language is a programing language with
strong abstraction from the details of the computer.
HISTORY OF MATLAB
Cleve Moler, a numerical analyst specializing in
matrix computation of Computer-Science
Department, University of New Mexico is the
creator of MATLAB. He started developing
MATLAB in 1970s. He designed it to give his
students access to LINPACK ( a software library
for performing numerical linear algebra on
digital computers) and EISPACK (a
software library for numerical computation of
eigenvalues and eigenvectors of matrices,
written in FORTRAN) without them having to
HISTORY OF MATLAB
The original MATLAB was a FORTRAN program
and Moler used the FORTRAN MATLAB in
teaching numerical analysis at Stanford in 1979.
Jack Little and Steve Bangert developed PC
MATLAB by porting Moler's code from
FORTRAN to C, adding user-defined functions
improved graphics, and libraries of MATLAB
routines, the toolboxes. In 2000, MATLAB was
rewritten to use a newer set of libraries for
matrix manipulation, LAPACK (Linear Algebra
Package).
MAIN FEATURES
Simple Programming Rules
Extended Accuracy
Comprehensive Mathematical Library
Extensive Graphics Tools
Linkages With Other Languages
MATLAB Scripts Will Work On PC UNIX,
Mac
TYPICAL USED INCLUDE
Math and computation
Algorithm development
Modelling, simulation, and
prototyping
Data analysis, exploration, and
visualization
Scientific and engineering graphics
Application development, including
Graphical user interface building
STARTING MATLAB
The windows used in MATLAB include
Command window,
Command History Window,
Current Directory Browser,
Workspace Browser,
Help browser,
Editor, and
Profiler.
Figure window
STARTING MATLAB
The following Fig 1 and Table 1 give an overview of the purpose of each of the
windows :
STARTING MATLAB
Window Description
Command Issues commands to MATLAB for processing
Command History Running history of prior commands issued in the
command window
Current Directory GUI for directory and file manipulation in MATLAB
Workspace GUI for viewing, editing, loading, and saving MATLAB
variables
Help GUI for finding and viewing on-line documentation
Editor Text editor for creating M-file
Profiler Tool for optimizing M-file performance
Why MATLAB used in Mathematics
Easy to do very rapid prototyping
Easy to learn, well documented
A good library of image processing
functions
Excellent display capabilities
Widely used for teaching and research in
universities and industry
What are we interested in MATLAB?
The features we are going to require is:
Matlab
Series of Matlab
commands
Command
m-files mat-files
Line
functions Command execution Data
like DOS command storage/
Input window loading
Output
capability
THE MATLAB SYSTEM
MATLAB system consists of these main parts:
Desktop Tools and Development Environment
• Includes the MATLAB desktop and Command Window,
an editor and debugger, a code analyzer, browsers for
viewing help, the workspace, files, and other tools
Mathematical Function Library
• Vast collection of computational algorithms ranging
from elementary functions, like sine, cosine, and
complex arithmetic, to more sophisticated functions
like matrix inverse, matrix eigenvalues, Bessel
functions, and Fast Fourier transforms and etc.
The Language
The MATLAB language is a high-level matrix/array language
with control flow statements, functions, data structures,
input/output, and object-oriented programming features.
Graphics
MATLAB has extensive facilities for displaying vectors and
matrices as graphs, as well as editing and printing these
graphs. It also includes functions that allow you to customize
the appearance of graphics as well as build complete
graphical user interfaces on your MATLAB applications.
External Interfaces
The external interfaces library allows you to write C and
Fortran programs that interact with MATLAB.
Thanks to All