Sie sind auf Seite 1von 40

Introduction to MATLAB

12/10/2012

MATLAB Overview
What is MATLAB? History of MATLAB
Who developed MATLAB Why MATLAB was developed Who currently maintains MATLAB

Strengths of MATLAB Weaknesses of MATLAB


2

What is MATLAB?
MATLAB
MATrix LABoratory Interactive system Programming language

History of MATLAB
Ancestral software to MATLAB
Fortran subroutines for solving linear (LINPACK) and eigenvalue (EISPACK) problems.
Developed primarily by Cleve Moler in the 1970s.

History of MATLAB
Later, when teaching courses in mathematics, Moler wanted his students to be able to use LINPACK and EISPACK without requiring knowledge of Fortran. MATLAB developed as an interactive system to access LINPACK and EISPACK

History of MATLAB
MATLAB gained popularity primarily through word of mouth because it was not officially distributed. In the 1980s, MATLAB was rewritten in C with more functionality (such as plotting routines).

History of MATLAB
The Mathworks, Inc. was created in 1984. Now it is responsible for development, sale, and support for MATLAB. The Mathworks is located in Natick, MA.

Strengths of MATLAB
MATLAB is relatively easy to learn. MATLAB code is optimized to be relatively quick when performing matrix operations. MATLAB may behave like a calculator or as a programming language. MATLAB is interpreted, errors are easier to fix.

MATLAB Introduction

MATLAB is an interactive system whose basic data is a matrix that does not require dimensioning.
9

MATLAB Introduction
MATLAB supports many types of graph and surface plots: line plots (x vs. y), filled plots, bar charts, pie charts, parametric plots, polar plots, contour plots, density plots, log axis plots, surface plots, parametric plots in 3 dimensions and spherical plots.
10

MATLAB Introduction
MATLAB has a number of add-on software modules, called toolbox , that perform more specialized computations. Signal & Image Processing Signal Processing- Image Processing Communications - System Identification Wavelet Filter Design Control Design Control System - Fuzzy Logic - Robust Control - Analysis and Synthesis - LMI Control - Model Predictive Control Model-Based Calibration

More than 60 toolboxes!

11

In Windows systems MATLAB is started by double-clicking the mouse on the appropriate icon.

12

MATLAB Command Window


13

File
14

Edit
15

View
16

View

17

View

18

Web
19

Help
20

21

MATLAB includes hundreds of functions for:


Data analysis and visualization. Numeric and symbolic computation. Engineering and Scientific graphics. Modeling, simulation, and prototyping. Eigenvalue, singular value ,etc.

22

MATLAB Demos
Demonstrations are invaluable since they give an indication of the MATLAB capabilities. A comprehensive set are available by typing the command >>demo in MATLAB prompt.
23

24

MATLAB Demos MATLAB has remarkable graphics capacities:


2-D and 3-D plots, Line plotting, 3-D surface plot, Splash screen plot, Plot of complex functions and ...

MATLAB Demos
MATLAB has remarkable graphics capacities, 3_D plots are some of them:
3-D plots in Handel Graphics Plot Type, Shading, Colomap, Axis and ...

MATLAB Demos
MATLAB has remarkable graphics capacities, gallery is one of them:
The Gallery is a place to hang particularly elegant examples of graphics visualization in MATLAB. Knot, Quiver, Klein II, Cruller and ...

MATLAB Demos MATLAB has many toolboxes:


Control toolbox is one of the important toolbox in MATLAB. RLC Circuit Response, Gain and Phase Margins, Notch Filter Discrete, PID and ...

MATLAB Demos MATLAB has many toolboxes:


Signal Processing toolbox is one of the important toolobx in MATLAB. Designing Filter, Filtering a Signal, Discrete and Continuous Fourier Transform, Spectral Analysis and ...

MATLAB Demos Simulink has the ability to simulate a large range of systems, from very simple to extraordinarily complex. The Model and demonstrations that you will see in this section include both simple and complex systems.

MATLAB Demos
Simulink has the ability to simulate a large range of systems, in the menu of Simulation we have: Pause. Stop, Simulation Parameters, Start,

Thank you

40

Das könnte Ihnen auch gefallen