Anda di halaman 1dari 21

Introduction to MATLAB

Jiro Doke Eric Johnson

Application Engineer

2009 The MathWorks, Inc.

Agenda

What is MATLAB?

Data analysis and visualization

Demo 1

Algorithm development and application deployment

Demo 2

Summary
2

What is MATLAB?
Interactive development environment Technical computing language Data analysis and visualization Algorithm development and application deployment

Agenda

What is MATLAB?

Data analysis and visualization

Demo 1

Algorithm development and application deployment

Demo 2

Summary
4

Technical Computing Workflow


Access Explore & Discover Share

Outputs for Design

Automate

Demonstration:
Device Characterization
Goal
a device Analyze low-pass filter to determine if it behaves as designed

R=1k V+

In
1 0 -1 1 0 -1 0 2000 4000 6000 8000 10000 0 2000 4000 6000 8000 10000 12000

V-

12000

V+

1 0 -1 1 0 -1 0 2000 0 2000

Out
4000 6000 8000 10000 12000 4000 6000 8000 10000 12000

C = 100 nF V-

Transfer Function: Cutoff Frequency:

T j

Out In

1 j CR

Fo

1 2 CR

Demo:
Device Characterization
Access Explore and Discover

Products Used
MATLAB Signal Processing Toolbox Curve Fitting Toolbox

Share

Outputs for Design

Automate

Accessing Data from MATLAB


Access
Files
Excel, text, or binary Multimedia, scientific Web, XML

Explore and Discover

Share

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
8

Data Analysis and Visualization in MATLAB


Access
Data Analysis
Manipulate, preprocess, and manage data Fast, accurate analysis with pre-built math and engineering functions

Explore and Discover

Share

Visualization
Built in graphics functions for engineering and science (2D, 3D, VolViz) Interactive tools to annotate and customize graphics
9

Expanding MATLABs capabilities


Access
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

Explore and Discover

Share

Partner products for:


Additional interfaces Domain-specific analysis Niche applications
10

Sharing Results from MATLAB


Access Explore and Discover Share

Publish M-file scripts


Quick, convenient documentation

Automatically generate structured reports Export data and graphics to standard and custom file formats
11

Agenda

What is MATLAB?

Data analysis and visualization

Demo 1

Algorithm development and application deployment

Demo 2

Summary
12

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

13

Deploying Applications with MATLAB


3
Toolboxes

MATLAB Desktop

End-User Machine

MATLAB Compiler

.exe

14

Deploying Applications with MATLAB


Give MATLAB code to other users Share applications with end users who do not have MATLAB Use MATLAB Compiler to create stand-alone
MATLAB Compiler

MATLAB Builder EX

MATLAB Builder JA

MATLAB Builder NE

executables and shared libraries Use Compiler add-ons to create software components

.exe

.dll .lib

Java

15

Demo:
Identification of Missing Planes
Access Explore and Discover

Products Used
MATLAB Image Processing Toolbox

Share

Outputs for Design

Automate

MATLAB Compiler

16

Building an Analysis Application with MATLAB


Access Explore and Discover Share

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
17

Agenda

What is MATLAB?

Data analysis and visualization

Demo 1

Algorithm development and application deployment

Demo 2

Summary
18

19

Contact Information
North America
Phone: 508-647-7000 E-mail: support@mathworks.com

Outside North America


Contact your local MathWorks office or reseller:

www.mathworks.com/contact

20

Questions?

2009 The MathWorks, Inc.

Anda mungkin juga menyukai