matlab lecture

Post on 27-May-2015

1.059 Views

Category:

Technology

1 Downloads

Preview:

Click to see full reader

DESCRIPTION

introduction to matlab

TRANSCRIPT

PRESENTED BY:

SIDHARTH GURIA

Introduction toMATLAB

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

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

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

It is a high level language for technical computation.

EVOLUTION OF MATLAB

Assembly

High Level Languages such as

C, Pascal etc.

Matlab

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

Some Glimpses of the power of MATLAB

Some Glimpses of the power of MATLAB

Some Glimpses of the power of MATLAB

Some Glimpses of the power of MATLAB

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 ?

Data Types

.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

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

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

Scatter Plot

Surface Plot

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

Example (closed-loop system)

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

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

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

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

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

QUESTIONS

Contact Details

Thank you for your time !!

top related