intromatlab slides

Upload: mile

Post on 04-Apr-2018

225 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/30/2019 IntroMATLAB Slides

    1/21

    2009TheMath

    Works,

    Inc.

    Introduction to MATLAB

    Jiro Doke

    Eric Johnson

    Application Engineer

  • 7/30/2019 IntroMATLAB Slides

    2/21

    2

    What is MATLAB?

    Data analysis and visualization

    Demo 1

    Algorithm development and application deployment

    Demo 2

    Summary

    Agenda

  • 7/30/2019 IntroMATLAB Slides

    3/21

    3

    What is MATLAB?

    Interactive development

    environment

    Technical computing

    language

    Data analysis and

    visualization

    Algorithm development

    and application

    deployment

  • 7/30/2019 IntroMATLAB Slides

    4/21

    4

    What is MATLAB?

    Data analysis and visualization

    Demo 1

    Algorithm development and application deployment

    Demo 2

    Summary

    Agenda

  • 7/30/2019 IntroMATLAB Slides

    5/21

    5

    Technical Computing Workflow

    Outputs forDesign

    ShareExplore & DiscoverAccess

    Automate

  • 7/30/2019 IntroMATLAB Slides

    6/21

    6

    1

    0

    ?

    Demonstration:

    Device Characterization

    CRjjT

    1

    1

    In

    Out

    Goal

    Analyze low-pass filter to determine if it behaves

    as designed

    CRFo

    2

    1

    V+

    V-

    V+

    V-

    R = 1 k

    C = 100 nF

    Transfer Function:

    Cutoff Frequency:

    In Out

    CRjjT

    1

    1

    In

    Out

    a device

  • 7/30/2019 IntroMATLAB Slides

    7/217

    Demo:

    Device Characterization

    Outputs forDesign

    ShareExplore and DiscoverAccess

    Automate

    Products Used MATLAB

    Signal Processing Toolbox Curve Fitting Toolbox

  • 7/30/2019 IntroMATLAB Slides

    8/218

    Accessing Data from MATLAB

    Files

    Excel, text, or binary

    Multimedia, scientific Web, XML

    Applications and languages

    C/C++, Java, FORTRAN

    COM, .NET, shared libraries

    Databases

    Measurement hardware

    Data acquisition hardware for

    signals or images

    Stand-alone instruments and devices

    ShareExplore and DiscoverAccess

  • 7/30/2019 IntroMATLAB Slides

    9/219

    Data Analysis and Visualization in MATLAB

    Data Analysis

    Manipulate, preprocess, and

    manage data Fast, accurate analysis with pre-built

    math and engineering functions

    Visualization

    Built in graphics functions forengineering and science

    (2D, 3D, VolViz)

    Interactive tools to annotate and

    customize graphics

    ShareExplore and DiscoverAccess

  • 7/30/2019 IntroMATLAB Slides

    10/2110

    Expanding MATLABs capabilities

    Add-on tools for:

    Statistics and curve fitting

    Signal and image processing System identification and

    control system analysis

    Neural networks and fuzzy logic

    Optimization

    Model Based Calibration and more Partner products for:

    Additional interfaces

    Domain-specific analysis

    Niche applications

    ShareExplore and DiscoverAccess

  • 7/30/2019 IntroMATLAB Slides

    11/2111

    Sharing Results from MATLAB

    Publish M-file scripts

    Quick, convenient

    documentation

    Automatically generate

    structured reports

    Export data and graphics to

    standard and custom file

    formats

    ShareExplore and DiscoverAccess

  • 7/30/2019 IntroMATLAB Slides

    12/2112

    What is MATLAB?

    Data analysis and visualization

    Demo 1

    Algorithm development and application deployment

    Demo 2

    Summary

    Agenda

  • 7/30/2019 IntroMATLAB Slides

    13/2113

    Demonstration:

    Identification of Missing Planes

    Scenario:

    Develop method to identify where

    planes have been removed from

    a storage area

    Requirements

    Image comparison algorithm

    Automated program

    User interface Reporting capability

  • 7/30/2019 IntroMATLAB Slides

    14/2114

    MATLABDesktop End-UserMachine1

    2

    3Toolboxes

    Deploying Applications with MATLAB

    MATLAB Compiler

    .exe

  • 7/30/2019 IntroMATLAB Slides

    15/2115

    Deploying Applications with MATLAB

    Give MATLAB code toother users

    Share applications withend users who do nothave MATLAB

    Use MATLAB Compiler tocreate stand-aloneexecutables and

    shared libraries Use Compiler add-ons to

    create softwarecomponents

    .exe.dll.lib

    MATLAB Compiler

    Java

    MATLABBuilder NE

    MATLABBuilder EX

    MATLABBuilder JA

  • 7/30/2019 IntroMATLAB Slides

    16/2116

    Demo:Identification of Missing Planes

    Outputs forDesign

    ShareExplore and DiscoverAccess

    Automate

    Products Used MATLAB

    Image Processing Toolbox

    MATLAB Compiler

  • 7/30/2019 IntroMATLAB Slides

    17/2117

    Building an Analysis Application with

    MATLAB

    Write reusable functions

    Leverage development tools

    to improve: Code quality

    Performance

    Supportability

    Add a graphical user interface Use pre-defined dialog boxes

    (select files, print graphics, )

    Develop a complete custom

    graphical user interface

    ShareExplore and DiscoverAccess

  • 7/30/2019 IntroMATLAB Slides

    18/2118

    What is MATLAB?

    Data analysis and visualization

    Demo 1

    Algorithm development and application deployment

    Demo 2

    Summary

    Agenda

  • 7/30/2019 IntroMATLAB Slides

    19/21

    19

  • 7/30/2019 IntroMATLAB Slides

    20/21

    20

    Contact Information

    North America

    Phone: 508-647-7000

    E-mail: [email protected]

    Outside North America

    Contact your local MathWorks office or reseller:

    www.mathworks.com/contact

  • 7/30/2019 IntroMATLAB Slides

    21/21

    2009TheMathWorks,

    Inc.

    Questions?