introduction to matlab · 22 using matlab high-level language –native support for vector and...

18
1 © 2015 The MathWorks, Inc. Introduction to MATLAB Sean de Wolski Application Engineer

Upload: others

Post on 14-Aug-2020

12 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Introduction to MATLAB · 22 Using MATLAB High-level language –Native support for vector and matrix operations –Built-in math and visualization functions Development environment

1© 2015 The MathWorks, Inc.

Introduction to MATLAB

Sean de Wolski

Application Engineer

Page 2: Introduction to MATLAB · 22 Using MATLAB High-level language –Native support for vector and matrix operations –Built-in math and visualization functions Development environment

2

What is MATLAB?

High-level language

Page 3: Introduction to MATLAB · 22 Using MATLAB High-level language –Native support for vector and matrix operations –Built-in math and visualization functions Development environment

3

What is MATLAB?

High-level language

Interactive development environment

Page 4: Introduction to MATLAB · 22 Using MATLAB High-level language –Native support for vector and matrix operations –Built-in math and visualization functions Development environment

4

What is MATLAB?

High-level language

Interactive development environment

Used for:

– Numerical computation

– Data analysis and visualization

– Algorithm development and programming

– Application development and deployment

Page 5: Introduction to MATLAB · 22 Using MATLAB High-level language –Native support for vector and matrix operations –Built-in math and visualization functions Development environment

5

Technical Computing Workflow

Reporting and

Documentation

Outputs for Design

Deployment

ShareExplore & Discover

Data Analysis

& Modeling

Algorithm

Development

Application

Development

Files

Software

Hardware

Access

Code & Applications

Automate

Page 6: Introduction to MATLAB · 22 Using MATLAB High-level language –Native support for vector and matrix operations –Built-in math and visualization functions Development environment

6

Demo: Fuel Economy Analysis

Goal:

– Study the relationships between fuel economy,

horsepower, and type of vehicle

Approach:

– Access data from Excel

– Interactively visualize and explore trends

– Create a model

– Document results in a report

Page 7: Introduction to MATLAB · 22 Using MATLAB High-level language –Native support for vector and matrix operations –Built-in math and visualization functions Development environment

7

Demo: Fuel Economy Analysis

Reporting and

Documentation

Outputs for Design

Deployment

ShareExplore & Discover

Data Analysis

& Modeling

Files

Software

Hardware

Access

Code & Applications

Automate

Products Used MATLAB

Statistics Toolbox

Curve Fitting Toolbox

Algorithm

Development

Application

Development

Page 8: Introduction to MATLAB · 22 Using MATLAB High-level language –Native support for vector and matrix operations –Built-in math and visualization functions Development environment

8

Accessing Data from MATLAB

Files

– Excel, text, or binary

– Audio and video, image

– Scientific formats and XML

Explore & Discover ShareAccess

Page 9: Introduction to MATLAB · 22 Using MATLAB High-level language –Native support for vector and matrix operations –Built-in math and visualization functions Development environment

9

Accessing Data from MATLAB

Files

– Excel, text, or binary

– Audio and video, image

– Scientific formats and XML

Web Services

– JSON, CSV, and image data

– Financial Datafeeds (Datafeed Toolbox)

Explore & Discover ShareAccess

Page 10: Introduction to MATLAB · 22 Using MATLAB High-level language –Native support for vector and matrix operations –Built-in math and visualization functions Development environment

10

Accessing Data from MATLAB

Applications and languages

– C/C++, Java, FORTRAN

– COM, .NET, shared libraries

– Databases (Database Toolbox)

Explore & Discover ShareAccess

Page 11: Introduction to MATLAB · 22 Using MATLAB High-level language –Native support for vector and matrix operations –Built-in math and visualization functions Development environment

11

Accessing Data from MATLAB

Applications and languages

– C/C++, Java, FORTRAN

– COM, .NET, shared libraries

– Databases (Database Toolbox)

Measurement hardware

– Data acquisition hardware (Data Acquisition Toolbox)

– Stand-alone instruments and devices

(Instrument Control Toolbox)

Explore & Discover ShareAccess

Page 12: Introduction to MATLAB · 22 Using MATLAB High-level language –Native support for vector and matrix operations –Built-in math and visualization functions Development environment

12

Data Analysis and Visualization in MATLAB

Built-in engineering and

mathematical functions

– Interpolation, filtering,

smoothing, Fourier analysis

Extensive plotting capabilities

– 2-D, 3-D, and volume visualization

– Tools for creating custom plots

Explore & Discover ShareAccess

Page 13: Introduction to MATLAB · 22 Using MATLAB High-level language –Native support for vector and matrix operations –Built-in math and visualization functions Development environment

13

Expanding the Capabilities of MATLAB

MathWorks add-on tools for:

– Math, statistics, and optimization

– Control system design and analysis

– Signal processing and communications

– Image processing and computer vision

– Parallel computing and more…

Partner products provide:

– Additional interfaces

– Domain-specific analysis

– Support for niche applications

Explore & Discover ShareAccess

Page 14: Introduction to MATLAB · 22 Using MATLAB High-level language –Native support for vector and matrix operations –Built-in math and visualization functions Development environment

14

Sharing Results from MATLAB

Automatically generate reports

– Publish MATLAB files

– Customize reports using

MATLAB Report Generator

Package as an app or custom toolbox

Deploy applications to other environments

Explore & Discover ShareAccess

Page 15: Introduction to MATLAB · 22 Using MATLAB High-level language –Native support for vector and matrix operations –Built-in math and visualization functions Development environment

20

Using MATLAB

High-level language

– Native support for vector and matrix operations

– Built-in math and visualization functions

Page 16: Introduction to MATLAB · 22 Using MATLAB High-level language –Native support for vector and matrix operations –Built-in math and visualization functions Development environment

21

Using MATLAB

High-level language

– Native support for vector and matrix operations

– Built-in math and visualization functions

Development environment

– Interactive and easy to get started

– Ideal for iterative exploration and design

Page 17: Introduction to MATLAB · 22 Using MATLAB High-level language –Native support for vector and matrix operations –Built-in math and visualization functions Development environment

22

Using MATLAB

High-level language

– Native support for vector and matrix operations

– Built-in math and visualization functions

Development environment

– Interactive and easy to get started

– Ideal for iterative exploration and design

Technical computing platform

– Add-on products for a range of application areas(e.g., signal processing and communications,

image and video processing, control systems, test and measurement)

Page 18: Introduction to MATLAB · 22 Using MATLAB High-level language –Native support for vector and matrix operations –Built-in math and visualization functions Development environment

23© 2015 The MathWorks, Inc.

Questions?

MATLAB and Simulink are registered trademarks of The MathWorks, Inc. See www.mathworks.com/trademarks for a list of additional trademarks.

Other product or brand names may be trademarks or registered trademarks of their respective holders. © 2015 The MathWorks, Inc.