You are on page 1of 27

Introduction to

MATLAB

By: Krishna Mohan Pandey


MATLAB
 The name MATLAB stands for MATrix LABoratory.
 MATLAB is a high-performance language for
technical computing. It integrates
computation, visualization, and programming
environment.
 It was originally designed for solving linear
algebra type problems using matrices.
MATLAB (contd..)
 The MATLAB environment is command oriented
somewhat like UNIX. A prompt appears on the screen
and a MATLAB statement can be entered.

 MATLAB now has built-in functions for solving problems


requiring data analysis, signal processing, optimization,
and several other types of scientific computations.

 It also contains functions for 2-D and 3-D graphics and


animation.
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.
 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.
Some Glimpses of the power of MATLAB
Some Glimpses of the power of MATLAB
Bode Plot and Nyquist Plot
Control System Toolbox

The values of gain and phase margin and corresponding


frequencies are
Gm = 29.8637 Pm = 72.8960 Wcg = 39.9099 Wcp = 0.9036

MATLAB Control Toolbox


Some Glimpses of the power of MATLAB
Some Glimpses of the power of MATLAB
What can we do in MATLAB ?
 Numerical computation and symbolic
calculations
 Data processing
 Programming
 Visualization
 GUI ( Graphical User Interface)
 System modeling and simulation
 Design Games
MATLAB GRAPHICS
 It has the extended graphical capability.
 The various plots are:
 2-D plots
 3-D plots
 Scatter plots
 Mesh plots
 Surface plots
Scatter Plot
Simulink
 Simulink software models, simulates, and analyzes
dynamic systems.
 Simulink supports linear and nonlinear systems,
modeled in continuous time, sampled time, or a
hybrid of the two.
 Used to model and solve real problems in a variety
of industries, including:
• Aerospace and Defense
• Automotive
• Communications
• Electronics and Signal Processing
• Medical Instrumentation
Example
MATLAB Toolboxes
 Control System Toolbox
 Image Processing Toolbox
 Signal Processing Toolbox
 Financial toolbox
 Statistical Toolbox
 Communication Toolbox
 Neural Network Toolbox
 Fuzzy Logic Toolbox
 Aerospace Toolbox
 Fixed Income Toolbox
Strengths of MATLAB

 MATLAB may behave as a calculator or as a


programming Language.
 MATLAB combines 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.
Why MATLAB
 Because it lets you test your ideas and innovations
very quickly.
 It lets you “feel” the code, stop a little with a
break point, add some lines, try this and try that,
plot some graphs or image to see what I got, and
Suddenly … through this “code gaming” finally
have you a great working program.
 Because it save you of declaring this and allocate
memory for that and let you focused on the real
target.
 Because the code is very clean and minimal and
very easy to understand and maintain.
Scope of MATLAB
 Academics and scientific research.
 Defense applications
 Space exploration
 Artificial Intelligence
 Bio-informatics and medical science
 Forecasting
 Plant modelling
 Finance
 Security Systems
 Communication & Networking
Career Prospects
 Electronics
 Communication
 Chemical
 Biomedical
 Software industries
 Finance companies
 Instrument manufacturers
 Plant designing

Note:- It has extensive use in R&D department of


almost all the big companies.
Companies listed
 MathsWorks
 Intel
 Cadence
 Philips, Sony, Samsung, LG
 IBM, HP, Acer
 General Motors, Ford, Honda
 NSN, Ericsson, Tech Mahindra
 NASA
 ISRO
 CSIO, DRDO, BEL, BDL
MATLAB Course Outline
MATLAB BASICS
• Overview/Introduction
• Desktop Tools and Development Environment
• Data types and structure
• Working with array and operations
• File handling and control
• Data processing and analysis
• Graphics
• Programming
• Scripts and functions
Course outline(cont…)
TOOLS
• GUIDE
• Simulink
TOOLBOX
• Control system toolbox
• Communication
QUESTIONS
Thank you for
your time !!

You might also like