introduction to matlab - kr.mathworks.com · 3 what is matlab? high-level computer language...
TRANSCRIPT
1© 2015 The MathWorks, Inc.
Introduction to MATLAB
Lianne Crooks
2
Key Takeaways
▪ MATLAB can be used at all stages of your work.
▪ How to automate analysis.
– Avoid repetition
– Save time
▪ Many resources available to help you to learn basic
and advanced MATLAB concepts.
3
What is MATLAB?
▪ High-level computer language designed to be used by
scientists and engineers within an easy-to-use interactive
environment.
▪ Extendable using toolboxes that provide targeted functionality
for specific types of analysis or area of expertise.
▪ Large range of use cases from simple, quick analysis to in-
depth programmes for production deployment.
4
Technical Computing Workflow
Reporting and
Documentation
Outputs for Design
Deployment
ShareExplore & Discover
Files
Software
Hardware
Access
Code &
Applications
Automate
Data Analysis
& Modeling
Algorithm
Development
Application
Development
5
Example: Bicycle Traffic Analysis
Bicycle
Counter
Harvard
University
City
Centre
6
Example: Bicycle Traffic Analysis
▪ Bicycle count for journeys toward
Harvard (Westbound) and toward
City Centre (Eastbound).
▪ Counts recorded every 15 minutes
between 01/01/17 – /09/17.
▪ Data contains:
– Timestamp
– Day of the week
– Total bicycle counts per 15 minutes
– Counts separated by journey direction
7
Importing Data: Interactive or Generate Code
Files
Software
Hardware
Access
Code &
Applications
▪ Interactively import data with the Import Tool:
8
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)
9
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
10
▪ Export as PDF/HTML/LaTeX
Sharing Code and Applications
Reporting and
Documentation
Outputs for Design
Deployment
Share
11
▪ Create stand-alone application for MATLAB and
Non-MATLAB users.
Sharing Code and Applications
Reporting and
Documentation
Outputs for Design
Deployment
Share
12
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:
13
MATLAB Training – Online and in the Classroom
▪ Free MATLAB Onramp training.
– Get started with MATLAB
– Interactive training course
▪ Other self-paced, online courses:
https://matlabacademy.mathworks.com/
▪ Classroom training available:
– You come to us, or we come to you.
15
MATLAB Central
16
MATLAB Central
17
Summary and Benefits
▪ Easy and fast to explore ideas.
▪ Automatic code generation.
▪ Single software for entire workflow.
▪ Numerous resources for learning and getting help in MATLAB.