introduction to matlabintroduction to matlab laura dempsey 2 agenda what is matlab? analysis...
TRANSCRIPT
![Page 1: Introduction to MATLABIntroduction to MATLAB Laura Dempsey 2 Agenda What is MATLAB? Analysis Example: Bike Count Data –Importing –Exploring –Sharing Results Signal Processing](https://reader033.vdocuments.net/reader033/viewer/2022052723/5f0de41b7e708231d43c9790/html5/thumbnails/1.jpg)
1© 2015 The MathWorks, Inc.
Introduction to MATLAB
Laura Dempsey
![Page 2: Introduction to MATLABIntroduction to MATLAB Laura Dempsey 2 Agenda What is MATLAB? Analysis Example: Bike Count Data –Importing –Exploring –Sharing Results Signal Processing](https://reader033.vdocuments.net/reader033/viewer/2022052723/5f0de41b7e708231d43c9790/html5/thumbnails/2.jpg)
2
Agenda
▪ What is MATLAB?
▪ Analysis Example: Bike Count Data
– Importing
– Exploring
– Sharing Results
▪ Signal Processing Example: Quick Start
▪ Where to get Help and Learn MATLAB
![Page 3: Introduction to MATLABIntroduction to MATLAB Laura Dempsey 2 Agenda What is MATLAB? Analysis Example: Bike Count Data –Importing –Exploring –Sharing Results Signal Processing](https://reader033.vdocuments.net/reader033/viewer/2022052723/5f0de41b7e708231d43c9790/html5/thumbnails/3.jpg)
3
Key Takeaways
▪ INTEGRATION: MATLAB can be used at all stages
of your work.
▪ AUTOMATION: Save time and avoid repetition.
▪ INFORMATION: Many resources available to help
you to learn basic and advanced MATLAB concepts.
![Page 4: Introduction to MATLABIntroduction to MATLAB Laura Dempsey 2 Agenda What is MATLAB? Analysis Example: Bike Count Data –Importing –Exploring –Sharing Results Signal Processing](https://reader033.vdocuments.net/reader033/viewer/2022052723/5f0de41b7e708231d43c9790/html5/thumbnails/4.jpg)
4
What is MATLAB?
▪ High-level computer language designed for
scientists and engineers.
▪ Combination of an easy-to-use, interactive
desktop environment with matrix-based
language.
▪ Extendable using toolboxes that provide
targeted functionality for specific types of
analysis or area of expertise.
![Page 5: Introduction to MATLABIntroduction to MATLAB Laura Dempsey 2 Agenda What is MATLAB? Analysis Example: Bike Count Data –Importing –Exploring –Sharing Results Signal Processing](https://reader033.vdocuments.net/reader033/viewer/2022052723/5f0de41b7e708231d43c9790/html5/thumbnails/5.jpg)
5
Technical Computing Workflow
Files
Software
Hardware
Access
Code &
Applications
Text files, spreadsheets
Images, Video and Audio
From the web, JSON, HTTP Messaging
Database or Datafeed
Devices
Out of Memory Data
![Page 6: Introduction to MATLABIntroduction to MATLAB Laura Dempsey 2 Agenda What is MATLAB? Analysis Example: Bike Count Data –Importing –Exploring –Sharing Results Signal Processing](https://reader033.vdocuments.net/reader033/viewer/2022052723/5f0de41b7e708231d43c9790/html5/thumbnails/6.jpg)
6Automate
Technical Computing Workflow
Reporting and
Documentation
Outputs for Design
Deployment
ShareExplore & Discover
Files
Software
Hardware
Access
Code &
Applications
Data Analysis
& Modeling
Algorithm
Development
Application
Development
![Page 7: Introduction to MATLABIntroduction to MATLAB Laura Dempsey 2 Agenda What is MATLAB? Analysis Example: Bike Count Data –Importing –Exploring –Sharing Results Signal Processing](https://reader033.vdocuments.net/reader033/viewer/2022052723/5f0de41b7e708231d43c9790/html5/thumbnails/7.jpg)
7
Example: Bicycle Traffic Analysis
Bicycle
Counter
Harvard
University
City
Centre
![Page 8: Introduction to MATLABIntroduction to MATLAB Laura Dempsey 2 Agenda What is MATLAB? Analysis Example: Bike Count Data –Importing –Exploring –Sharing Results Signal Processing](https://reader033.vdocuments.net/reader033/viewer/2022052723/5f0de41b7e708231d43c9790/html5/thumbnails/8.jpg)
8
Example: Bicycle Traffic Analysis
▪ Bicycle count for journeys toward
Harvard (Westbound) and toward
City Centre (Eastbound).
▪ Counts recorded every 15 minutes
▪ Data contains:
– Timestamp
– Day of the week
– Counts separated by journey direction
– Total bicycle counts per 15 minutes
![Page 9: Introduction to MATLABIntroduction to MATLAB Laura Dempsey 2 Agenda What is MATLAB? Analysis Example: Bike Count Data –Importing –Exploring –Sharing Results Signal Processing](https://reader033.vdocuments.net/reader033/viewer/2022052723/5f0de41b7e708231d43c9790/html5/thumbnails/9.jpg)
9
Fundamental Data Types
![Page 10: Introduction to MATLABIntroduction to MATLAB Laura Dempsey 2 Agenda What is MATLAB? Analysis Example: Bike Count Data –Importing –Exploring –Sharing Results Signal Processing](https://reader033.vdocuments.net/reader033/viewer/2022052723/5f0de41b7e708231d43c9790/html5/thumbnails/10.jpg)
10
Importing Data: Interactive or Generate Code
Files
Software
Hardware
Access
Code &
Applications
▪ Interactively import data with the Import Tool:
![Page 11: Introduction to MATLABIntroduction to MATLAB Laura Dempsey 2 Agenda What is MATLAB? Analysis Example: Bike Count Data –Importing –Exploring –Sharing Results Signal Processing](https://reader033.vdocuments.net/reader033/viewer/2022052723/5f0de41b7e708231d43c9790/html5/thumbnails/11.jpg)
11
Compare with Weather Data
▪ Historical weather data for Boston, MA.
▪ Same time period as bicycle traffic data.
▪ We have data for:
– Average wind speed (MPH)
– Precipitation (inches per day)
– Average daily temperature (ºF)
– Maximum daily temperature (ºF)
– Minimum daily temperature (ºF)
![Page 12: Introduction to MATLABIntroduction to MATLAB Laura Dempsey 2 Agenda What is MATLAB? Analysis Example: Bike Count Data –Importing –Exploring –Sharing Results Signal Processing](https://reader033.vdocuments.net/reader033/viewer/2022052723/5f0de41b7e708231d43c9790/html5/thumbnails/12.jpg)
12
Are bicycle counts related to the weather?
▪ Live Editor allows for quick and easy exploration of dataExplore & Discover
Data Analysis
& Modeling
Algorithm
Development
Application
Development
![Page 13: Introduction to MATLABIntroduction to MATLAB Laura Dempsey 2 Agenda What is MATLAB? Analysis Example: Bike Count Data –Importing –Exploring –Sharing Results Signal Processing](https://reader033.vdocuments.net/reader033/viewer/2022052723/5f0de41b7e708231d43c9790/html5/thumbnails/13.jpg)
13
▪ Export script as DOCX/PDF/HTML/LaTeX
Sharing Code and Applications
Reporting and
Documentation
Outputs for Design
Deployment
Share
![Page 14: Introduction to MATLABIntroduction to MATLAB Laura Dempsey 2 Agenda What is MATLAB? Analysis Example: Bike Count Data –Importing –Exploring –Sharing Results Signal Processing](https://reader033.vdocuments.net/reader033/viewer/2022052723/5f0de41b7e708231d43c9790/html5/thumbnails/14.jpg)
14
▪ Create stand-alone application for MATLAB and
Non-MATLAB users.
Sharing Code and Applications
Reporting and
Documentation
Outputs for Design
Deployment
Share
![Page 15: Introduction to MATLABIntroduction to MATLAB Laura Dempsey 2 Agenda What is MATLAB? Analysis Example: Bike Count Data –Importing –Exploring –Sharing Results Signal Processing](https://reader033.vdocuments.net/reader033/viewer/2022052723/5f0de41b7e708231d43c9790/html5/thumbnails/15.jpg)
15
Quick Starts to Complex Tasks
▪ MATLAB Apps
![Page 16: Introduction to MATLABIntroduction to MATLAB Laura Dempsey 2 Agenda What is MATLAB? Analysis Example: Bike Count Data –Importing –Exploring –Sharing Results Signal Processing](https://reader033.vdocuments.net/reader033/viewer/2022052723/5f0de41b7e708231d43c9790/html5/thumbnails/16.jpg)
16
MATLAB Onramp
▪ Get started with MATLAB for free
▪ Two-hour interactive training
course
– Hands-on experience.
– Work through examples and exercises.
– Immediate feedback.
▪ Access directly from MATLAB:
![Page 17: Introduction to MATLABIntroduction to MATLAB Laura Dempsey 2 Agenda What is MATLAB? Analysis Example: Bike Count Data –Importing –Exploring –Sharing Results Signal Processing](https://reader033.vdocuments.net/reader033/viewer/2022052723/5f0de41b7e708231d43c9790/html5/thumbnails/17.jpg)
17
MATLAB Training – Online and in the Classroom
▪ Deep Learning Onramp
– 95 minutes of free material.
– Get started with Deep Learning.
▪ Other self-paced, online courses:
https://matlabacademy.mathworks.com/
▪ Classroom training available:
– You come to us, or we come to you.
![Page 18: Introduction to MATLABIntroduction to MATLAB Laura Dempsey 2 Agenda What is MATLAB? Analysis Example: Bike Count Data –Importing –Exploring –Sharing Results Signal Processing](https://reader033.vdocuments.net/reader033/viewer/2022052723/5f0de41b7e708231d43c9790/html5/thumbnails/18.jpg)
18
MATLAB Central
![Page 19: Introduction to MATLABIntroduction to MATLAB Laura Dempsey 2 Agenda What is MATLAB? Analysis Example: Bike Count Data –Importing –Exploring –Sharing Results Signal Processing](https://reader033.vdocuments.net/reader033/viewer/2022052723/5f0de41b7e708231d43c9790/html5/thumbnails/19.jpg)
19
MATLAB Central
![Page 20: Introduction to MATLABIntroduction to MATLAB Laura Dempsey 2 Agenda What is MATLAB? Analysis Example: Bike Count Data –Importing –Exploring –Sharing Results Signal Processing](https://reader033.vdocuments.net/reader033/viewer/2022052723/5f0de41b7e708231d43c9790/html5/thumbnails/20.jpg)
20
Summary and Benefits
▪ INTEGRATION: Single software for entire workflow
▪ AUTOMATION: Speed up repetitive tasks and generate code
▪ INFORMATION: MATLAB Central on MathWorks website, as well as
online and classroom training is available
![Page 21: Introduction to MATLABIntroduction to MATLAB Laura Dempsey 2 Agenda What is MATLAB? Analysis Example: Bike Count Data –Importing –Exploring –Sharing Results Signal Processing](https://reader033.vdocuments.net/reader033/viewer/2022052723/5f0de41b7e708231d43c9790/html5/thumbnails/21.jpg)
21
Upcoming Agenda
▪ 14:00-15:00
– Intro to Simulink
and Stateflow
– Software Development
Practises with MATLAB
▪ 15:45-17:00
– Predictive Maintenance
with MATLAB