MATLAB WORKSHOP - PowerPoint PPT Presentation

1 / 46
About This Presentation
Title:

MATLAB WORKSHOP

Description:

... Synthesis - LMI Control - Model Predictive Control Model-Based ... Spectral Analysis and ... The Model and demonstrations that you will see in this ... – PowerPoint PPT presentation

Number of Views:834
Avg rating:3.0/5.0
Slides: 47
Provided by: csee1
Category:

less

Transcript and Presenter's Notes

Title: MATLAB WORKSHOP


1
MATLAB WORKSHOP
  • FOR EE 327
  • MWF 800-850 AM
  • August 26-30, 2002

Dr. Ali A. Jalali
2
ABOUT WORKSHOP
  • Mainly this workshop is designed for EE 327,
    Signals and Systems 1 course. But it could be
    used by any other faculty and students who are
    interested to learn MATLAB

3
ABOUT WORKSHOP
  • This workshop is available as a supplement to
    the textbook Contemporary Linear Systems Using
    MATLAB by Robert D. Strum and Donald E. Kirk.
    This is the main textbook for EE 327 in fall
    2002.
  • The workshop covers basic MATLAB commands that
    are used in introductory signals and systems
    analysis.
  • It is meant to serve as a quick way to learn
    MATLAB and a quick reference to the commands that
    are used in this textbook.

4
ABOUT WORKSHOP
  • In this workshop you will learn a few of the
    basic functions of MATLAB.
  • First we will start working with basic
    numbers, formats, demos, mathematical functions,
    setting variables, matrices and generating plots
    by using the plot functions.
  • Brief overview of how to generate scripts in
    MATLAB called M-files.

5
ABOUT WORKSHOP
  • The workshop is designed for students using
    either the professional version of MATLAB with
    the Control Systems Toolbox and the Signal
    Processing Toolbox, or using the Student Edition
    of MATLAB.
  • For latest version of MATLAB at the time and
    more information on MATLAB, contact The
    Mathworks, Inc.
  • www.mathworks.com

6
MATLAB WORKSHOP
  • WORKSHOP
  • WebPages
  • www.csee.wvu.edu/jalali

7
MATLAB WORKSHOP
  • Lecture 1
  • Monday August 26
  • Introduction
  • MATLAB Demos
  • MATLAB Basics
  • Lecture 2
  • Wednesday August 28
  • MATLAB Basics
  • MATLAB Plots
  • MATLAB Examples
  • Lecture 3
  • Friday August 30
  • MATLAB Fundation
  • Textbook Examples
  • Short Quiz

8
MATLAB WORKSHOP
  • Lecture 1
  • Monday August 26
  • Introduction
  • MATLAB Demos
  • MATLAB Basics

9
MATLAB Introduction
  • MATLAB is both computer programming language
    and software environment for using that language
    effectively.
  • MATLAB is matrix-oriented, so what would take
    several statements in C or Fortran can usually be
    accomplished in just a few lines using MATLAB's
    built-in matrix and vector operations

10
MATLAB Introduction
  • FORTRAN
  •     real8 A(10,10), B(10,10), C(10,10)    do
    i1,10    do j1,10        C(i,j) A(i,j)
     B(i,j) 10 continue 20 continue

  • MATLAB
  • C A  B     

11
MATLAB Introduction
  • MATLAB is available for MS Windows, Macintosh
    personal computer, Unix and other operating
    systems.

12
MATLAB Introduction
  • MATLAB, which stands for MATrix LABoratory, is
    a powerful, general-purpose system or environment
    for doing mathematics, scientific and engireeng
    calculations.

13
MATLAB Introduction
  • MATLAB is a "High-Performance Numeric
    Computation and Visualization Software" package.

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

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

16
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!

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

18
MATLAB Command Window
19
File
20
Edit
21
View
22
View
23
View
24
Web
25
Help
26
(No Transcript)
27
MATLAB Introduction
  • 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

28
MATLAB Demos
  • Demonstrations are invaluable since they give an
    indication of the MATLAB capabilities.
  • A comprehensive set are available by typing the
    command gtgtdemo in MATLAB prompt.

29
(No Transcript)
30
MATLAB Demos
  • MATLAB works with scalars, vectors and
    matrices
  • Basic matrix operations,
  • Inverses of matrices,
  • Graphs of matrices,
  • Matrix manipulation,
  • Programming, application development, and GUI
    design

31
(No Transcript)
32
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 ...

33
(No Transcript)
34
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 ...

35
(No Transcript)
36
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 ...

37
(No Transcript)
38
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 ...

39
(No Transcript)
40
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 ...

41
(No Transcript)
42
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.

43
(No Transcript)
44
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,

45
(No Transcript)
46
MATLAB WORKSHOP
  • End of Lecture 1
  • MATLAB Basics
  • Next time
Write a Comment
User Comments (0)
About PowerShow.com