matlab lecture

28

Upload: yatendra-vashishtha

Post on 27-May-2015

1.058 views

Category:

Technology


1 download

DESCRIPTION

introduction to matlab

TRANSCRIPT

Page 1: Matlab lecture
Page 2: Matlab lecture
Page 3: Matlab lecture

PRESENTED BY:

SIDHARTH GURIA

Introduction toMATLAB

Page 4: Matlab lecture

Developed primarily by Cleve Moler in the 1970's using FORTRAN subroutines.

Rewritten in C in the 1980's with more functionality, which also include plotting features.

The MathWorks Inc. was created (1984) to market and continue development of MATLAB.

History of MATLAB

Page 5: Matlab lecture

The name MATLAB stands for MATrix LABoratory.

It is a package for scientific and technical computations and modeling.

It was originally designed for solving linear algebra type problems using matrices.

MATLAB is a high-performance language for technical computing. It integrates computation, visualization, and programming environment.

MATLAB

Page 6: Matlab lecture

The MATLAB environment is command oriented somewhat like UNIX. A prompt appears on the screen and a MATLAB statement can be entered. When the <ENTER> key is pressed, the statement is executed, and another prompt appears.

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 (contd..)

Page 7: Matlab lecture

It is a high level language for technical computation.

EVOLUTION OF MATLAB

Assembly

High Level Languages such as

C, Pascal etc.

Matlab

Page 8: Matlab lecture

MATLAB is case sensitive. The fundamental data type is an array. Has ability to make functions in command

window in a single line. Can be linked to C/C++, JAVA, SQL, etc. Specific applications are collected in

packages referred to as toolbox. It is possible to keep track of everything

done during a MATLAB session.

Features (contd..)

Page 9: Matlab lecture

Some Glimpses of the power of MATLAB

Page 10: Matlab lecture

Some Glimpses of the power of MATLAB

Page 11: Matlab lecture

Some Glimpses of the power of MATLAB

Page 12: Matlab lecture

Some Glimpses of the power of MATLAB

Page 13: Matlab lecture

1. Numerical computation and symbolic calculations

2. Data processing3. Programming4. Visualization5. GUI6. System modeling and simulation.7. Design Games

What can we do in MATLAB ?

Page 14: Matlab lecture

Data Types

Page 15: Matlab lecture

.fig MATLAB Figure .m  MATLAB function, script,

or class .mat  MATLAB binary file for storing

variables .mex MATLAB executable (platform

specific, e.g.".mexmac" for Mac, ".mexglx" for Linux, etc.)

.p  MATLAB content-obscured .m file (result of pcode() )

File Extensions

Page 16: Matlab lecture

Files structure and commands

Matlab

CommandLine

m-files

functions

mat-files

Series of Matlab

commands

InputOutput

capability

Command execution like DOS

command window

Data storage/ loading

Page 17: Matlab lecture

In has the extended graphical capability. The various plots are:1. 2-D plots2. 3-D plots3. Scatter plots4. Mesh plots5. Surface plots6. Etc...

MATLAB GRAPHICS

Page 18: Matlab lecture

Scatter Plot

Surface Plot

Page 19: Matlab lecture

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

Simulink

Page 20: Matlab lecture

Example (closed-loop system)

Page 21: Matlab lecture

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

MATLAB Toolbox

Page 22: Matlab lecture

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.

Strengths of MATLAB

Page 23: Matlab lecture

Academics and scientific research. Defense applications Space exploration Artificial Intelligence Bio-informatics and medical science Forecasting Plant modelling Finance Security Systems Communication & Networking

Scope of MATLAB

Page 24: Matlab lecture

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.

Career Prospects

Page 25: Matlab lecture

MathWorks Intel Cadence Philips, Sony, Samsung, LG IBM, HP, Acer General Motors, Ford, Honda NSN, Ericsson, Tech Mahindra NASA ISRO CSIO, DRDO, BEL, BDL

Companies listed

Page 26: Matlab lecture

QUESTIONS

Page 27: Matlab lecture

Contact Details

Page 28: Matlab lecture

Thank you for your time !!