fhi berlin, 22.05.19 dr. philip laserstein...2019/05/22 · 2 mathworks at a glance office...
TRANSCRIPT
![Page 1: FHI Berlin, 22.05.19 Dr. Philip Laserstein...2019/05/22 · 2 MathWorks at a Glance Office locations Distributors serving 16 countries Privately held More than 4500 employees worldwide](https://reader036.vdocument.in/reader036/viewer/2022071223/6085a44432dbbe3d3a08cd13/html5/thumbnails/1.jpg)
1© 2019 The MathWorks, Inc.
What’s new in MATLAB
FHI Berlin, 22.05.19
Dr. Philip Laserstein
![Page 2: FHI Berlin, 22.05.19 Dr. Philip Laserstein...2019/05/22 · 2 MathWorks at a Glance Office locations Distributors serving 16 countries Privately held More than 4500 employees worldwide](https://reader036.vdocument.in/reader036/viewer/2022071223/6085a44432dbbe3d3a08cd13/html5/thumbnails/2.jpg)
2
MathWorks at a Glance
● Office locations ● Distributors serving 16 countries
◼ Privately held
◼ More than 4500 employees worldwide
◼ More than 4 million users in 185 countries
Earth’s topography on a Miller cylindrical projection,
created with MATLAB and Mapping Toolbox.
![Page 3: FHI Berlin, 22.05.19 Dr. Philip Laserstein...2019/05/22 · 2 MathWorks at a Glance Office locations Distributors serving 16 countries Privately held More than 4500 employees worldwide](https://reader036.vdocument.in/reader036/viewer/2022071223/6085a44432dbbe3d3a08cd13/html5/thumbnails/3.jpg)
3
Deeply Rooted in Education
Benefits for Industry
▪ Every year, tens of thousands of engineers enter the workforce with
MATLAB and Simulink product skills and experience.
▪ Students learn theory and techniques while using MATLAB and Simulink.
▪ 6500+ universities around the world
▪ 2000+ MATLAB and Simulink based books
▪ Academic support for research, fellowships, student competitions, and curriculum development
“Everyone that comes in as a new hire
already knows MATLAB, because they all
had it in college. The learning curve is
significantly lessened as a result.”
Jeff Corn,
Chief of Engineering Projects Section,
U.S. Air Force
![Page 4: FHI Berlin, 22.05.19 Dr. Philip Laserstein...2019/05/22 · 2 MathWorks at a Glance Office locations Distributors serving 16 countries Privately held More than 4500 employees worldwide](https://reader036.vdocument.in/reader036/viewer/2022071223/6085a44432dbbe3d3a08cd13/html5/thumbnails/4.jpg)
4
MathWorks Product Overview
![Page 5: FHI Berlin, 22.05.19 Dr. Philip Laserstein...2019/05/22 · 2 MathWorks at a Glance Office locations Distributors serving 16 countries Privately held More than 4500 employees worldwide](https://reader036.vdocument.in/reader036/viewer/2022071223/6085a44432dbbe3d3a08cd13/html5/thumbnails/5.jpg)
5
Access to all 90+ products via the MPG campus-wide license!
![Page 6: FHI Berlin, 22.05.19 Dr. Philip Laserstein...2019/05/22 · 2 MathWorks at a Glance Office locations Distributors serving 16 countries Privately held More than 4500 employees worldwide](https://reader036.vdocument.in/reader036/viewer/2022071223/6085a44432dbbe3d3a08cd13/html5/thumbnails/6.jpg)
6
Agenda
▪ Desktop & Live Editor
![Page 7: FHI Berlin, 22.05.19 Dr. Philip Laserstein...2019/05/22 · 2 MathWorks at a Glance Office locations Distributors serving 16 countries Privately held More than 4500 employees worldwide](https://reader036.vdocument.in/reader036/viewer/2022071223/6085a44432dbbe3d3a08cd13/html5/thumbnails/7.jpg)
7
Agenda
▪ Desktop & Live Editor
▪ Data Analysis & Visualization
![Page 8: FHI Berlin, 22.05.19 Dr. Philip Laserstein...2019/05/22 · 2 MathWorks at a Glance Office locations Distributors serving 16 countries Privately held More than 4500 employees worldwide](https://reader036.vdocument.in/reader036/viewer/2022071223/6085a44432dbbe3d3a08cd13/html5/thumbnails/8.jpg)
8
Agenda
▪ Desktop & Live Editor
▪ Data Analysis & Visualization
▪ Language & Programming
![Page 9: FHI Berlin, 22.05.19 Dr. Philip Laserstein...2019/05/22 · 2 MathWorks at a Glance Office locations Distributors serving 16 countries Privately held More than 4500 employees worldwide](https://reader036.vdocument.in/reader036/viewer/2022071223/6085a44432dbbe3d3a08cd13/html5/thumbnails/9.jpg)
9
Agenda
▪ Desktop & Live Editor
▪ Data Analysis & Visualization
▪ Language & Programming
▪ App Building & Sharing
![Page 10: FHI Berlin, 22.05.19 Dr. Philip Laserstein...2019/05/22 · 2 MathWorks at a Glance Office locations Distributors serving 16 countries Privately held More than 4500 employees worldwide](https://reader036.vdocument.in/reader036/viewer/2022071223/6085a44432dbbe3d3a08cd13/html5/thumbnails/10.jpg)
10
Agenda
▪ Desktop & Live Editor
▪ Data Analysis & Visualization
▪ Language & Programming
▪ App Building & Sharing
▪ Hardware Support
Data & RF Imaging SpecialtyEmbedded
![Page 11: FHI Berlin, 22.05.19 Dr. Philip Laserstein...2019/05/22 · 2 MathWorks at a Glance Office locations Distributors serving 16 countries Privately held More than 4500 employees worldwide](https://reader036.vdocument.in/reader036/viewer/2022071223/6085a44432dbbe3d3a08cd13/html5/thumbnails/11.jpg)
11
Agenda
▪ Desktop & Live Editor
▪ Data Analysis & Visualization
▪ Language & Programming
▪ App Building & Sharing
▪ Hardware Support
▪ Toolbox Updates
![Page 12: FHI Berlin, 22.05.19 Dr. Philip Laserstein...2019/05/22 · 2 MathWorks at a Glance Office locations Distributors serving 16 countries Privately held More than 4500 employees worldwide](https://reader036.vdocument.in/reader036/viewer/2022071223/6085a44432dbbe3d3a08cd13/html5/thumbnails/12.jpg)
12
Full details are available in the documentation release notes
▪ Filter results by:
– Release range
– Category
– Specific search terms
![Page 13: FHI Berlin, 22.05.19 Dr. Philip Laserstein...2019/05/22 · 2 MathWorks at a Glance Office locations Distributors serving 16 countries Privately held More than 4500 employees worldwide](https://reader036.vdocument.in/reader036/viewer/2022071223/6085a44432dbbe3d3a08cd13/html5/thumbnails/13.jpg)
13
Agenda
▪ Desktop & Live Editor
▪ Data Analysis & Visualization
▪ Language & Programming
▪ App Building & Sharing
▪ Hardware Support
▪ Toolbox Updates
![Page 14: FHI Berlin, 22.05.19 Dr. Philip Laserstein...2019/05/22 · 2 MathWorks at a Glance Office locations Distributors serving 16 countries Privately held More than 4500 employees worldwide](https://reader036.vdocument.in/reader036/viewer/2022071223/6085a44432dbbe3d3a08cd13/html5/thumbnails/14.jpg)
14
Editing and Running MATLAB Code Pre-16a
▪ Plain-text editing
▪ Output goes to
Command Window
▪ Multiple figure
windows appear
▪ Equations, images,
and hyperlinks only
appear if published
![Page 15: FHI Berlin, 22.05.19 Dr. Philip Laserstein...2019/05/22 · 2 MathWorks at a Glance Office locations Distributors serving 16 countries Privately held More than 4500 employees worldwide](https://reader036.vdocument.in/reader036/viewer/2022071223/6085a44432dbbe3d3a08cd13/html5/thumbnails/15.jpg)
15
Use the Live Editor to create scripts that combine code,
output, and formatted text in an executable notebook.
![Page 16: FHI Berlin, 22.05.19 Dr. Philip Laserstein...2019/05/22 · 2 MathWorks at a Glance Office locations Distributors serving 16 countries Privately held More than 4500 employees worldwide](https://reader036.vdocument.in/reader036/viewer/2022071223/6085a44432dbbe3d3a08cd13/html5/thumbnails/16.jpg)
16
Live Editor Notebook Features
▪ Divide code into sections
▪ View output next to the code
▪ Add rich text formatting, equations,
images, and hyperlinks
▪ Add interactive controls
▪ Enable animations in plots
▪ Save directly to PDF, HTML,
Word, and LaTeX
![Page 17: FHI Berlin, 22.05.19 Dr. Philip Laserstein...2019/05/22 · 2 MathWorks at a Glance Office locations Distributors serving 16 countries Privately held More than 4500 employees worldwide](https://reader036.vdocument.in/reader036/viewer/2022071223/6085a44432dbbe3d3a08cd13/html5/thumbnails/17.jpg)
17
Live Editor Coding Features
▪ Use contextual hints when
calling functions
▪ Automatically generate code
when interacting with plots
and tables in the output
▪ Debug live scripts and functions
▪ Select and edit rectangular
areas of code
▪ Refactor code into local or
external functions
▪ Create formatted function
reference documentation
![Page 18: FHI Berlin, 22.05.19 Dr. Philip Laserstein...2019/05/22 · 2 MathWorks at a Glance Office locations Distributors serving 16 countries Privately held More than 4500 employees worldwide](https://reader036.vdocument.in/reader036/viewer/2022071223/6085a44432dbbe3d3a08cd13/html5/thumbnails/18.jpg)
18
Interactive Equation Editing
![Page 19: FHI Berlin, 22.05.19 Dr. Philip Laserstein...2019/05/22 · 2 MathWorks at a Glance Office locations Distributors serving 16 countries Privately held More than 4500 employees worldwide](https://reader036.vdocument.in/reader036/viewer/2022071223/6085a44432dbbe3d3a08cd13/html5/thumbnails/19.jpg)
19
Live Editor Keyboard Shortcuts* let you format as you type
Formatting Style Autoformatting Sequence Keyboard Shortcut
Title # text + Enter Ctrl + Alt + L
Heading 1 ## text + Enter Ctrl + Shift + 1
Heading 2 ### text + Enter Ctrl + Shift + 2
Heading 3 #### text + Enter Ctrl + Shift + 3
%% + Enter
--- + Enter
*** + Enter
* text
- text
+ text
Numbered list number. text Ctrl + Alt + O
*text*
_text_
**text**
__text__
Underline None Ctrl + U
LaTeX equation $LaTeX$ Ctrl + Shift + L
ItalicCtrl + I
BoldCtrl + B
Section break
Ctrl + Alt + Enter
Bulleted list
Ctrl + Alt + U
* This is a subset of available keyboard shortcuts. The full list can be found here: https://www.mathworks.com/help/matlab/matlab_prog/format-live-scripts.html#bvackht-1
![Page 20: FHI Berlin, 22.05.19 Dr. Philip Laserstein...2019/05/22 · 2 MathWorks at a Glance Office locations Distributors serving 16 countries Privately held More than 4500 employees worldwide](https://reader036.vdocument.in/reader036/viewer/2022071223/6085a44432dbbe3d3a08cd13/html5/thumbnails/20.jpg)
20
Agenda
▪ Desktop & Live Editor
▪ Data Analysis & Visualization
▪ Language & Programming
▪ App Building & Sharing
▪ Hardware Support
▪ Toolbox Updates
![Page 21: FHI Berlin, 22.05.19 Dr. Philip Laserstein...2019/05/22 · 2 MathWorks at a Glance Office locations Distributors serving 16 countries Privately held More than 4500 employees worldwide](https://reader036.vdocument.in/reader036/viewer/2022071223/6085a44432dbbe3d3a08cd13/html5/thumbnails/21.jpg)
21
Data Analysis & Visualization
Big DataAnalysis & Visualization
Access
![Page 22: FHI Berlin, 22.05.19 Dr. Philip Laserstein...2019/05/22 · 2 MathWorks at a Glance Office locations Distributors serving 16 countries Privately held More than 4500 employees worldwide](https://reader036.vdocument.in/reader036/viewer/2022071223/6085a44432dbbe3d3a08cd13/html5/thumbnails/22.jpg)
22
Databases
Images
MDF Files
Custom
Simulation
Access data in many formats from many locations
▪ Type
▪ Structure
▪ Location
![Page 23: FHI Berlin, 22.05.19 Dr. Philip Laserstein...2019/05/22 · 2 MathWorks at a Glance Office locations Distributors serving 16 countries Privately held More than 4500 employees worldwide](https://reader036.vdocument.in/reader036/viewer/2022071223/6085a44432dbbe3d3a08cd13/html5/thumbnails/23.jpg)
23
Text
New data types express more types of data naturally
logical
cellstructure
double, single,
…
cell string
{c|h}
Numeric
Heterogeneous
categorical
table
datetime duration
calendarDuration
timetable
stringchar
tall
![Page 24: FHI Berlin, 22.05.19 Dr. Philip Laserstein...2019/05/22 · 2 MathWorks at a Glance Office locations Distributors serving 16 countries Privately held More than 4500 employees worldwide](https://reader036.vdocument.in/reader036/viewer/2022071223/6085a44432dbbe3d3a08cd13/html5/thumbnails/24.jpg)
24
Strings
▪ For:
– Text data
▪ Provides:
– Improved execution speed and
memory usage vs cellstr
– Manipulate, compare, and
store text data efficiently
– Simplified text manipulation
functions
>> "image" + (1:3) + ".png"
1×3 string array
"image1.png" "image2.png" "image3.png"
Previously: if ~isempty(strfind(textdata,"Dog"))
Now: if contains(textdata,"Dog")
![Page 25: FHI Berlin, 22.05.19 Dr. Philip Laserstein...2019/05/22 · 2 MathWorks at a Glance Office locations Distributors serving 16 countries Privately held More than 4500 employees worldwide](https://reader036.vdocument.in/reader036/viewer/2022071223/6085a44432dbbe3d3a08cd13/html5/thumbnails/25.jpg)
25
Access data interactively using the Import Tool
▪ Select data types
▪ Choose what to do
with missing data
▪ Generate MATLAB code
![Page 26: FHI Berlin, 22.05.19 Dr. Philip Laserstein...2019/05/22 · 2 MathWorks at a Glance Office locations Distributors serving 16 countries Privately held More than 4500 employees worldwide](https://reader036.vdocument.in/reader036/viewer/2022071223/6085a44432dbbe3d3a08cd13/html5/thumbnails/26.jpg)
26
readtimetable
readcell
readmatrix
readstruct
...
New functions for reading and writing data
Access Explore and Discover Share*read
* = FROM(file, source)
read*
* = INTO(data type, format)
*write
* = TO(file, source)
write*
* = OUT OF(data type, format)
parquetread
thingSpeakRead
...
parquetwrite
thingSpeakWrite
...
writetimetable
writecell
writematrix
writestruct
...
![Page 27: FHI Berlin, 22.05.19 Dr. Philip Laserstein...2019/05/22 · 2 MathWorks at a Glance Office locations Distributors serving 16 countries Privately held More than 4500 employees worldwide](https://reader036.vdocument.in/reader036/viewer/2022071223/6085a44432dbbe3d3a08cd13/html5/thumbnails/27.jpg)
27
Use datastores for reading collections of files, or
parts of a file/database a chunk at a time
Access Explore and Discover Share*read
* = FROM(file, source)
read*
* = INTO(data type, format)
*write
* = TO(file, source)
write*
* = OUT OF(data type, format)
*datastore
• * = ACCESS FROM(file, source)
Choose data types
Select Datastore for File Format or Application
![Page 28: FHI Berlin, 22.05.19 Dr. Philip Laserstein...2019/05/22 · 2 MathWorks at a Glance Office locations Distributors serving 16 countries Privately held More than 4500 employees worldwide](https://reader036.vdocument.in/reader036/viewer/2022071223/6085a44432dbbe3d3a08cd13/html5/thumbnails/28.jpg)
28
Select subsetRead first block
Preview and adjust properties to best represent the data
Preview all columns
![Page 29: FHI Berlin, 22.05.19 Dr. Philip Laserstein...2019/05/22 · 2 MathWorks at a Glance Office locations Distributors serving 16 countries Privately held More than 4500 employees worldwide](https://reader036.vdocument.in/reader036/viewer/2022071223/6085a44432dbbe3d3a08cd13/html5/thumbnails/29.jpg)
29
Select subset
Preview and adjust properties to best represent the data
![Page 30: FHI Berlin, 22.05.19 Dr. Philip Laserstein...2019/05/22 · 2 MathWorks at a Glance Office locations Distributors serving 16 countries Privately held More than 4500 employees worldwide](https://reader036.vdocument.in/reader036/viewer/2022071223/6085a44432dbbe3d3a08cd13/html5/thumbnails/30.jpg)
30
Read first block
Preview and adjust properties to best represent the data
![Page 31: FHI Berlin, 22.05.19 Dr. Philip Laserstein...2019/05/22 · 2 MathWorks at a Glance Office locations Distributors serving 16 countries Privately held More than 4500 employees worldwide](https://reader036.vdocument.in/reader036/viewer/2022071223/6085a44432dbbe3d3a08cd13/html5/thumbnails/31.jpg)
31
Data Analysis & Visualization
Big DataAnalysis & Visualization
Access
![Page 32: FHI Berlin, 22.05.19 Dr. Philip Laserstein...2019/05/22 · 2 MathWorks at a Glance Office locations Distributors serving 16 countries Privately held More than 4500 employees worldwide](https://reader036.vdocument.in/reader036/viewer/2022071223/6085a44432dbbe3d3a08cd13/html5/thumbnails/32.jpg)
32
Preprocessing and analyzing data is easier than ever
![Page 33: FHI Berlin, 22.05.19 Dr. Philip Laserstein...2019/05/22 · 2 MathWorks at a Glance Office locations Distributors serving 16 countries Privately held More than 4500 employees worldwide](https://reader036.vdocument.in/reader036/viewer/2022071223/6085a44432dbbe3d3a08cd13/html5/thumbnails/33.jpg)
33
New functions for common preprocessing tasks
▪ Synchronize by time
▪ Find, fill, and remove missing
▪ Work with outliers
▪ Smooth noisy data
▪ Normalize, rescale data
![Page 34: FHI Berlin, 22.05.19 Dr. Philip Laserstein...2019/05/22 · 2 MathWorks at a Glance Office locations Distributors serving 16 countries Privately held More than 4500 employees worldwide](https://reader036.vdocument.in/reader036/viewer/2022071223/6085a44432dbbe3d3a08cd13/html5/thumbnails/34.jpg)
34
New functions for data analysis
▪ Explore range
▪ Grouped calculations
▪ Detect local minima
and maxima
▪ Detect abrupt changes in data with ischange
![Page 35: FHI Berlin, 22.05.19 Dr. Philip Laserstein...2019/05/22 · 2 MathWorks at a Glance Office locations Distributors serving 16 countries Privately held More than 4500 employees worldwide](https://reader036.vdocument.in/reader036/viewer/2022071223/6085a44432dbbe3d3a08cd13/html5/thumbnails/35.jpg)
35
Data Analysis & Visualization
Big DataAnalysis & Visualization
Access
![Page 36: FHI Berlin, 22.05.19 Dr. Philip Laserstein...2019/05/22 · 2 MathWorks at a Glance Office locations Distributors serving 16 countries Privately held More than 4500 employees worldwide](https://reader036.vdocument.in/reader036/viewer/2022071223/6085a44432dbbe3d3a08cd13/html5/thumbnails/36.jpg)
36
Big Data Without Big Changes
One file One hundred files
![Page 37: FHI Berlin, 22.05.19 Dr. Philip Laserstein...2019/05/22 · 2 MathWorks at a Glance Office locations Distributors serving 16 countries Privately held More than 4500 employees worldwide](https://reader036.vdocument.in/reader036/viewer/2022071223/6085a44432dbbe3d3a08cd13/html5/thumbnails/37.jpg)
37
tall Arrays
▪ New data type designed for data that doesn’t fit into memory
▪ Lots of observations (hence “tall”)
▪ Looks like a normal MATLAB array
– Supports numeric types, tables, datetimes, strings, etc…
– Supports several hundred functions for basic math, stats, indexing, etc.
– Statistics and Machine Learning Toolbox support
(clustering, classification, etc.)
![Page 38: FHI Berlin, 22.05.19 Dr. Philip Laserstein...2019/05/22 · 2 MathWorks at a Glance Office locations Distributors serving 16 countries Privately held More than 4500 employees worldwide](https://reader036.vdocument.in/reader036/viewer/2022071223/6085a44432dbbe3d3a08cd13/html5/thumbnails/38.jpg)
38
tall arraySingle
Machine
Memory
tall Arrays
▪ Automatically breaks data up into
small “chunks” that fit in memory
▪ Tall arrays scan through the
dataset one “chunk” at a time
▪ Processing code for tall arrays is
the same as ordinary arrays
Single
Machine
MemoryProcess
![Page 39: FHI Berlin, 22.05.19 Dr. Philip Laserstein...2019/05/22 · 2 MathWorks at a Glance Office locations Distributors serving 16 countries Privately held More than 4500 employees worldwide](https://reader036.vdocument.in/reader036/viewer/2022071223/6085a44432dbbe3d3a08cd13/html5/thumbnails/39.jpg)
39
tall array
Cluster of
Machines
Memory
Single
Machine
Memory
tall Arrays
▪ With Parallel Computing Toolbox,
process several “chunks” at once
▪ Can scale up to clusters with
MATLAB Parallel Server
Single
Machine
MemoryProcess
Single
Machine
MemoryProcess
Single
Machine
MemoryProcess
Single
Machine
MemoryProcess
Single
Machine
MemoryProcess
Single
Machine
MemoryProcess
![Page 40: FHI Berlin, 22.05.19 Dr. Philip Laserstein...2019/05/22 · 2 MathWorks at a Glance Office locations Distributors serving 16 countries Privately held More than 4500 employees worldwide](https://reader036.vdocument.in/reader036/viewer/2022071223/6085a44432dbbe3d3a08cd13/html5/thumbnails/40.jpg)
40
Visualizing Big Data Using tall Arrays
▪ Support for:
– histogram
– histogram2
– ksdensity
– plot
– scatter
– binscatter
– wordcloud
– heatmap
▪ Support will continue to grow!
![Page 41: FHI Berlin, 22.05.19 Dr. Philip Laserstein...2019/05/22 · 2 MathWorks at a Glance Office locations Distributors serving 16 countries Privately held More than 4500 employees worldwide](https://reader036.vdocument.in/reader036/viewer/2022071223/6085a44432dbbe3d3a08cd13/html5/thumbnails/41.jpg)
41
Agenda
▪ Desktop & Live Editor
▪ Data Analysis & Visualization
▪ Language & Programming
▪ App Building & Sharing
▪ Hardware Support
▪ Toolbox Updates
![Page 42: FHI Berlin, 22.05.19 Dr. Philip Laserstein...2019/05/22 · 2 MathWorks at a Glance Office locations Distributors serving 16 countries Privately held More than 4500 employees worldwide](https://reader036.vdocument.in/reader036/viewer/2022071223/6085a44432dbbe3d3a08cd13/html5/thumbnails/42.jpg)
42
Language & Programming
Language Execution
Programming Collaboration and Maintenance
![Page 43: FHI Berlin, 22.05.19 Dr. Philip Laserstein...2019/05/22 · 2 MathWorks at a Glance Office locations Distributors serving 16 countries Privately held More than 4500 employees worldwide](https://reader036.vdocument.in/reader036/viewer/2022071223/6085a44432dbbe3d3a08cd13/html5/thumbnails/43.jpg)
43
Run MATLAB code faster with redesigned execution engine.
▪ All MATLAB code is now JIT compiled
▪ Incremental improvements each release
– Execute loops with scalar math faster
– Construct objects and set properties faster
– Improved script and try/catch performance
– Render plots with large numbers of
markers faster using less memory
– Increased speed of MATLAB startup
![Page 44: FHI Berlin, 22.05.19 Dr. Philip Laserstein...2019/05/22 · 2 MathWorks at a Glance Office locations Distributors serving 16 countries Privately held More than 4500 employees worldwide](https://reader036.vdocument.in/reader036/viewer/2022071223/6085a44432dbbe3d3a08cd13/html5/thumbnails/44.jpg)
44
Language & Programming
Language Execution
Programming Collaboration and Maintenance
![Page 45: FHI Berlin, 22.05.19 Dr. Philip Laserstein...2019/05/22 · 2 MathWorks at a Glance Office locations Distributors serving 16 countries Privately held More than 4500 employees worldwide](https://reader036.vdocument.in/reader036/viewer/2022071223/6085a44432dbbe3d3a08cd13/html5/thumbnails/45.jpg)
45
Automatically Generate MATLAB Code
▪ Customized data import
▪ Recreate customized plots
– Directly from figures
– Within Live Editor
– Plot Gallery
▪ Variable Editor actions
▪ Apps in Toolboxes generate code
for more complex workflows
![Page 46: FHI Berlin, 22.05.19 Dr. Philip Laserstein...2019/05/22 · 2 MathWorks at a Glance Office locations Distributors serving 16 countries Privately held More than 4500 employees worldwide](https://reader036.vdocument.in/reader036/viewer/2022071223/6085a44432dbbe3d3a08cd13/html5/thumbnails/46.jpg)
46
Using MATLAB with Other Languages
Calling Libraries Written in Another Language From MATLAB
Calling MATLAB from Another Language
• Java
• Python
• C
• C++
• Fortran
• COM components and ActiveX® controls
• RESTful, HTTP, and WSDL web services
• Java
• Python
• C/C++
• Fortran
• COM Automation server
Call C++ libraries directly from MATLAB
![Page 47: FHI Berlin, 22.05.19 Dr. Philip Laserstein...2019/05/22 · 2 MathWorks at a Glance Office locations Distributors serving 16 countries Privately held More than 4500 employees worldwide](https://reader036.vdocument.in/reader036/viewer/2022071223/6085a44432dbbe3d3a08cd13/html5/thumbnails/47.jpg)
47
Language & Programming
Language Execution
Programming Collaboration and Maintenance
![Page 48: FHI Berlin, 22.05.19 Dr. Philip Laserstein...2019/05/22 · 2 MathWorks at a Glance Office locations Distributors serving 16 countries Privately held More than 4500 employees worldwide](https://reader036.vdocument.in/reader036/viewer/2022071223/6085a44432dbbe3d3a08cd13/html5/thumbnails/48.jpg)
48
Organize, manage, and share your code with MATLAB projects
▪ Configure your environment
▪ Analyze dependencies
▪ Track and control changes
▪ Package and share projects
![Page 49: FHI Berlin, 22.05.19 Dr. Philip Laserstein...2019/05/22 · 2 MathWorks at a Glance Office locations Distributors serving 16 countries Privately held More than 4500 employees worldwide](https://reader036.vdocument.in/reader036/viewer/2022071223/6085a44432dbbe3d3a08cd13/html5/thumbnails/49.jpg)
49
Source Control Integration
▪ Manage your code from within
the MATLAB Desktop
▪ Leverage modern source
control capabilities
– Git and Subversion integration
in Current Folder browser
▪ Use Comparison Tool to view and
merge changes between revisions
![Page 50: FHI Berlin, 22.05.19 Dr. Philip Laserstein...2019/05/22 · 2 MathWorks at a Glance Office locations Distributors serving 16 countries Privately held More than 4500 employees worldwide](https://reader036.vdocument.in/reader036/viewer/2022071223/6085a44432dbbe3d3a08cd13/html5/thumbnails/50.jpg)
50
Code Compatibility Report
▪ Tool to help upgrade code to
latest and greatest
▪ Identifies potential
compatibility issues
▪ Hundreds of checks for
incompatibilities, errors, and
warnings
Link to documentation
for updates
Go directly to the
line of code
![Page 51: FHI Berlin, 22.05.19 Dr. Philip Laserstein...2019/05/22 · 2 MathWorks at a Glance Office locations Distributors serving 16 countries Privately held More than 4500 employees worldwide](https://reader036.vdocument.in/reader036/viewer/2022071223/6085a44432dbbe3d3a08cd13/html5/thumbnails/51.jpg)
51
Agenda
▪ Desktop & Live Editor
▪ Data Analysis & Visualization
▪ Language & Programming
▪ App Building & Sharing
▪ Hardware Support
▪ Toolbox Updates
![Page 52: FHI Berlin, 22.05.19 Dr. Philip Laserstein...2019/05/22 · 2 MathWorks at a Glance Office locations Distributors serving 16 countries Privately held More than 4500 employees worldwide](https://reader036.vdocument.in/reader036/viewer/2022071223/6085a44432dbbe3d3a08cd13/html5/thumbnails/52.jpg)
52
App Designer includes an extensive library of components*
▪ Standard components
▪ Gauges, lamps, knobs,
and switches
▪ Container components
(tabs, panels)
* View component gallery at https://www.mathworks.com/products/matlab/app-designer/component-gallery.html
![Page 53: FHI Berlin, 22.05.19 Dr. Philip Laserstein...2019/05/22 · 2 MathWorks at a Glance Office locations Distributors serving 16 countries Privately held More than 4500 employees worldwide](https://reader036.vdocument.in/reader036/viewer/2022071223/6085a44432dbbe3d3a08cd13/html5/thumbnails/53.jpg)
53
Interactively lay out your app in the App Designer design canvas
▪ Drag and drop components
▪ Use alignment hints to
get a precise layout
▪ Create apps that automatically
adjust size, location, and
visibility of app content
▪ App Designer automatically generates
the object-oriented code that specifies
the app’s layout and design
![Page 54: FHI Berlin, 22.05.19 Dr. Philip Laserstein...2019/05/22 · 2 MathWorks at a Glance Office locations Distributors serving 16 countries Privately held More than 4500 employees worldwide](https://reader036.vdocument.in/reader036/viewer/2022071223/6085a44432dbbe3d3a08cd13/html5/thumbnails/54.jpg)
54
Use the integrated editor to define app behavior
▪ Control behavior with callbacks, and custom
mouse and keyboard interactions
▪ Code Analyzer automatically
checks for coding problems
▪ Property and method management
![Page 55: FHI Berlin, 22.05.19 Dr. Philip Laserstein...2019/05/22 · 2 MathWorks at a Glance Office locations Distributors serving 16 countries Privately held More than 4500 employees worldwide](https://reader036.vdocument.in/reader036/viewer/2022071223/6085a44432dbbe3d3a08cd13/html5/thumbnails/55.jpg)
55
Share Apps with Other MATLAB Users
▪ Directly as MATLAB files
– .mlapp file
– Manually provide other supporting
files (data, other code files)
▪ As a packaged app
– .mlappinstall file
– Installed apps appear in the Apps
tab in the MATLAB toolstrip
▪ Through MATLAB Online and MATLAB Drive
– Others can both run and collaborate
on the design of the app
![Page 56: FHI Berlin, 22.05.19 Dr. Philip Laserstein...2019/05/22 · 2 MathWorks at a Glance Office locations Distributors serving 16 countries Privately held More than 4500 employees worldwide](https://reader036.vdocument.in/reader036/viewer/2022071223/6085a44432dbbe3d3a08cd13/html5/thumbnails/56.jpg)
56
Create Standalone Desktop and Web Apps
▪ Create standalone applications
▪ Package apps as web apps
– Share via a unique URL
– Access directly from a browser
![Page 57: FHI Berlin, 22.05.19 Dr. Philip Laserstein...2019/05/22 · 2 MathWorks at a Glance Office locations Distributors serving 16 countries Privately held More than 4500 employees worldwide](https://reader036.vdocument.in/reader036/viewer/2022071223/6085a44432dbbe3d3a08cd13/html5/thumbnails/57.jpg)
57
Add-Ons Extend the Capabilities of MATLAB
▪ Create and share custom toolboxes
– Package as a single installer file
– Can include code, data, apps,
examples, documentation
▪ Add-On Explorer
– Find and install add-ons
– Includes MathWorks + community content
▪ Add-On Manager
– View and manage installed add-ons
![Page 58: FHI Berlin, 22.05.19 Dr. Philip Laserstein...2019/05/22 · 2 MathWorks at a Glance Office locations Distributors serving 16 countries Privately held More than 4500 employees worldwide](https://reader036.vdocument.in/reader036/viewer/2022071223/6085a44432dbbe3d3a08cd13/html5/thumbnails/58.jpg)
58
Access MATLAB through your browser with MATLAB Online
▪ Use the latest version of MATLAB
▪ No downloads, installations, configurations
or maintenance required
▪ Share your work with a unique URL
▪ Collaborate with others by setting permissions
▪ All named academic, commercial and
home user accounts are eligible New in
▪ App Designer in MATLAB Online▪ Single Sign-On with MathWorks.com
![Page 59: FHI Berlin, 22.05.19 Dr. Philip Laserstein...2019/05/22 · 2 MathWorks at a Glance Office locations Distributors serving 16 countries Privately held More than 4500 employees worldwide](https://reader036.vdocument.in/reader036/viewer/2022071223/6085a44432dbbe3d3a08cd13/html5/thumbnails/59.jpg)
59
Agenda
▪ Desktop & Live Editor
▪ Data Analysis & Visualization
▪ Language & Programming
▪ App Building & Sharing
▪ Hardware Support
▪ Toolbox Updates Imaging SpecialtyData & RF Embedded
![Page 60: FHI Berlin, 22.05.19 Dr. Philip Laserstein...2019/05/22 · 2 MathWorks at a Glance Office locations Distributors serving 16 countries Privately held More than 4500 employees worldwide](https://reader036.vdocument.in/reader036/viewer/2022071223/6085a44432dbbe3d3a08cd13/html5/thumbnails/60.jpg)
60
Data & RF ImagingEmbedded Specialty
Hardware: Breadth and Depth
Standards
• Serial
• I2C
• SPI
• Bluetooth
• IVI
• VISA
• VXIplug&play
• MODBUS
• GigE Vision
• USB3 Vision
• DCAM
• Camera Link
• CAN
• J1939
• OPC standards
and more…
![Page 61: FHI Berlin, 22.05.19 Dr. Philip Laserstein...2019/05/22 · 2 MathWorks at a Glance Office locations Distributors serving 16 countries Privately held More than 4500 employees worldwide](https://reader036.vdocument.in/reader036/viewer/2022071223/6085a44432dbbe3d3a08cd13/html5/thumbnails/61.jpg)
62
Hardware: Getting Up and Running Fast
▪ Hardware support packages in Add-On Explorer
– Automates installation of hardware drivers
▪ Guided setup of Arduino connection
▪ Apps get you started quickly and
automatically generate code
– DAQ: Analog Input Recorder App
![Page 62: FHI Berlin, 22.05.19 Dr. Philip Laserstein...2019/05/22 · 2 MathWorks at a Glance Office locations Distributors serving 16 countries Privately held More than 4500 employees worldwide](https://reader036.vdocument.in/reader036/viewer/2022071223/6085a44432dbbe3d3a08cd13/html5/thumbnails/62.jpg)
64
Agenda
▪ Desktop & Live Editor
▪ Data Analysis & Visualization
▪ Language & Programming
▪ App Building & Sharing
▪ Hardware Support
▪ Toolbox Updates
![Page 63: FHI Berlin, 22.05.19 Dr. Philip Laserstein...2019/05/22 · 2 MathWorks at a Glance Office locations Distributors serving 16 countries Privately held More than 4500 employees worldwide](https://reader036.vdocument.in/reader036/viewer/2022071223/6085a44432dbbe3d3a08cd13/html5/thumbnails/63.jpg)
65
Machine Learning
▪ Use apps to interactively explore data, choose
algorithms to train and validate models, and
compare results
– Classification Learner app
– Regression Learner app
▪ Apply algorithms to out-of-memory
data using tall arrays
▪ Generate C code for predictive models
(requires MATLAB Coder)
MATLAB makes machine learning easy and accessible
for everyone, even if you’re not an expert
“I would have never attempted machine
learning if this app was not available.”
![Page 64: FHI Berlin, 22.05.19 Dr. Philip Laserstein...2019/05/22 · 2 MathWorks at a Glance Office locations Distributors serving 16 countries Privately held More than 4500 employees worldwide](https://reader036.vdocument.in/reader036/viewer/2022071223/6085a44432dbbe3d3a08cd13/html5/thumbnails/64.jpg)
66
Deep Learning
Design, build, and visualize convolutional neural networks
▪ Interoperability with deep learning frameworks
▪ Design and build your own models
– R-CNN, Fast R-CNN, and
Faster R-CNN algorithms
▪ Use NVIDIA GPUs to train your models
▪ Automatically generate high-performance
CUDA code for embedded deployment(requires GPU Coder)
▪ Performance improvements for training and prediction on CPUs and GPUs
![Page 65: FHI Berlin, 22.05.19 Dr. Philip Laserstein...2019/05/22 · 2 MathWorks at a Glance Office locations Distributors serving 16 countries Privately held More than 4500 employees worldwide](https://reader036.vdocument.in/reader036/viewer/2022071223/6085a44432dbbe3d3a08cd13/html5/thumbnails/65.jpg)
67
Interoperability with Deep Learning Frameworks
▪ Import and export models using
the Open Neural Network Exchange
(ONNX) format
▪ Model importers
– Caffe
– TensorFlow-Keras
▪ Generate CUDA code for models
imported from ONNX(using GPU Coder)
▪ Access pretrained models
with a single line of code Sep ‘17 Mar ‘18Mar ‘17Sep ‘16 Sep ‘18
ONNX
PyTorch
MATLABMXNet
Caffe2 TensorFlow
ChainerCore MLCognitive
Toolkit
Keras-Tensorflow
Caffe
![Page 66: FHI Berlin, 22.05.19 Dr. Philip Laserstein...2019/05/22 · 2 MathWorks at a Glance Office locations Distributors serving 16 countries Privately held More than 4500 employees worldwide](https://reader036.vdocument.in/reader036/viewer/2022071223/6085a44432dbbe3d3a08cd13/html5/thumbnails/66.jpg)
68
Designing and Building Deep Learning Models
▪ Edit and build deep networks(Deep Network Designer app)
▪ Visualize, analyze, and find problems in network
architectures before training (Network Analyzer)
▪ Automate ground-truth labeling using apps
– Image Labeler app
– Video Labeler app
– Audio Labeler app
▪ Monitor training progress with plots for accuracy,
loss, validation metrics, and more
▪ Visualize and debug deep learning models
Deep Learning ToolboxComputer Vision System ToolboxAudio System Toolbox
![Page 67: FHI Berlin, 22.05.19 Dr. Philip Laserstein...2019/05/22 · 2 MathWorks at a Glance Office locations Distributors serving 16 countries Privately held More than 4500 employees worldwide](https://reader036.vdocument.in/reader036/viewer/2022071223/6085a44432dbbe3d3a08cd13/html5/thumbnails/67.jpg)
69
Example 1: Object recognition using deep learning
Training (GPU) Millions of images from 1000 different categories
Prediction Real-time object recognition using a webcam connected to a laptop
![Page 68: FHI Berlin, 22.05.19 Dr. Philip Laserstein...2019/05/22 · 2 MathWorks at a Glance Office locations Distributors serving 16 countries Privately held More than 4500 employees worldwide](https://reader036.vdocument.in/reader036/viewer/2022071223/6085a44432dbbe3d3a08cd13/html5/thumbnails/68.jpg)
70
Example 2: Detection and localization using deep learning
Regions with Convolutional Neural
Network Features (R-CNN)Semantic Segmentation using SegNet
![Page 69: FHI Berlin, 22.05.19 Dr. Philip Laserstein...2019/05/22 · 2 MathWorks at a Glance Office locations Distributors serving 16 countries Privately held More than 4500 employees worldwide](https://reader036.vdocument.in/reader036/viewer/2022071223/6085a44432dbbe3d3a08cd13/html5/thumbnails/69.jpg)
71
Example 3: Analyzing signal data using deep learning
Signal Classification using LSTMs Speech Recognition using CNNs
![Page 70: FHI Berlin, 22.05.19 Dr. Philip Laserstein...2019/05/22 · 2 MathWorks at a Glance Office locations Distributors serving 16 countries Privately held More than 4500 employees worldwide](https://reader036.vdocument.in/reader036/viewer/2022071223/6085a44432dbbe3d3a08cd13/html5/thumbnails/70.jpg)
72
Deploying Deep Learning Models for Inference
Coder
Products
Deep Learning
Networks
NVIDIA
TensorRT &
cuDNN
Libraries
ARM
Compute
Library
Intel
MKL-DNN
Library
GPU Coder
+
![Page 71: FHI Berlin, 22.05.19 Dr. Philip Laserstein...2019/05/22 · 2 MathWorks at a Glance Office locations Distributors serving 16 countries Privately held More than 4500 employees worldwide](https://reader036.vdocument.in/reader036/viewer/2022071223/6085a44432dbbe3d3a08cd13/html5/thumbnails/71.jpg)
73
GPU Coder
▪ Support for networks in
Deep Learning Toolbox
▪ Generate MEX functions for
acceleration and verification
▪ Generated code can integrate
with external CUDA code
Automatically generate CUDA code from MATLAB
- TensorFlow
- MXNet
- MATLAB
- PyTorch
Why is GPU Coder so fast?▪ Code is lean, just prediction▪ Invested 15 years in code gen▪ Matrix-based calculations
![Page 72: FHI Berlin, 22.05.19 Dr. Philip Laserstein...2019/05/22 · 2 MathWorks at a Glance Office locations Distributors serving 16 countries Privately held More than 4500 employees worldwide](https://reader036.vdocument.in/reader036/viewer/2022071223/6085a44432dbbe3d3a08cd13/html5/thumbnails/72.jpg)
74
New Product: Reinforcement Learning Toolbox
▪ Built-in and custom algorithms
for reinforcement learning
▪ Environment modeling in
MATLAB and Simulink
▪ Deep Learning Toolbox support
for designing policies
▪ Training acceleration through
GPUs and cloud resources
▪ Deployment to embedded devices
and production systems
▪ Reference examples for getting started
![Page 73: FHI Berlin, 22.05.19 Dr. Philip Laserstein...2019/05/22 · 2 MathWorks at a Glance Office locations Distributors serving 16 countries Privately held More than 4500 employees worldwide](https://reader036.vdocument.in/reader036/viewer/2022071223/6085a44432dbbe3d3a08cd13/html5/thumbnails/73.jpg)
75
Signal Processing
▪ Signal Analyzer app
– Visualize and compare multiple
signals and spectra
– Spectral analysis of signals
– Time domain panning
– Automatic MATLAB
code generation
– Preprocess signals by
smoothing and filtering
▪ Wavelet Signal Denoiser App
– Visualize and denoise time-series data
– Automatic MATLAB code generation
Signal Processing ToolboxWavelet Toolbox
![Page 74: FHI Berlin, 22.05.19 Dr. Philip Laserstein...2019/05/22 · 2 MathWorks at a Glance Office locations Distributors serving 16 countries Privately held More than 4500 employees worldwide](https://reader036.vdocument.in/reader036/viewer/2022071223/6085a44432dbbe3d3a08cd13/html5/thumbnails/74.jpg)
76
MATLAB Parallel Server for Campus-Wide LicenseIncluded in Max-Planck campus-wide license
▪ One license, unlimited scaling for the entire campus
– HPC centers and central clusters can enable entire clusters
– Researchers and departments can set up their own MATLAB clusters
▪ Simplify license administration by consolidating
– For HPC, a single network activation can accommodate multiple clusters of any size
– Researchers self-serve with online licensing once you add them as Licensed End Users
To use new model with any release
1) get updated license file and update network license manager
OR 2) use online licensing
New
![Page 75: FHI Berlin, 22.05.19 Dr. Philip Laserstein...2019/05/22 · 2 MathWorks at a Glance Office locations Distributors serving 16 countries Privately held More than 4500 employees worldwide](https://reader036.vdocument.in/reader036/viewer/2022071223/6085a44432dbbe3d3a08cd13/html5/thumbnails/75.jpg)
77
Parallel Computing with MATLAB:
Scaling parallel computing to clouds and clusters
MATLAB MATLAB Parallel Server
GPU
Multi-core CPU
Parallel Computing Toolbox
GPU
Multi-core CPU
▪ Prototype code on
end-user desktop
▪ Integrate code with
computing resources
and infrastructure
▪ Access and monitor
jobs directly from
MATLAB
![Page 76: FHI Berlin, 22.05.19 Dr. Philip Laserstein...2019/05/22 · 2 MathWorks at a Glance Office locations Distributors serving 16 countries Privately held More than 4500 employees worldwide](https://reader036.vdocument.in/reader036/viewer/2022071223/6085a44432dbbe3d3a08cd13/html5/thumbnails/76.jpg)
78
Resources
▪ Online trainings
![Page 77: FHI Berlin, 22.05.19 Dr. Philip Laserstein...2019/05/22 · 2 MathWorks at a Glance Office locations Distributors serving 16 countries Privately held More than 4500 employees worldwide](https://reader036.vdocument.in/reader036/viewer/2022071223/6085a44432dbbe3d3a08cd13/html5/thumbnails/77.jpg)
79
Resources
▪ Online trainings
▪ Tech support
– 95% of calls answered
within three minutes
– 70% of issues resolved
within 24 hours
– 90% of customers surveyed said they were satisfied or very satisfied
![Page 78: FHI Berlin, 22.05.19 Dr. Philip Laserstein...2019/05/22 · 2 MathWorks at a Glance Office locations Distributors serving 16 countries Privately held More than 4500 employees worldwide](https://reader036.vdocument.in/reader036/viewer/2022071223/6085a44432dbbe3d3a08cd13/html5/thumbnails/78.jpg)
80
Resources
▪ Online trainings
▪ Tech support
– 95% of calls answered
within three minutes
– 70% of issues resolved
within 24 hours
– 90% of customers surveyed said they were satisfied or very satisfied
![Page 79: FHI Berlin, 22.05.19 Dr. Philip Laserstein...2019/05/22 · 2 MathWorks at a Glance Office locations Distributors serving 16 countries Privately held More than 4500 employees worldwide](https://reader036.vdocument.in/reader036/viewer/2022071223/6085a44432dbbe3d3a08cd13/html5/thumbnails/79.jpg)
81
Resources
▪ Online trainings
▪ Tech support
▪ MATLAB central (MATLAB answers, File Exchange etc.)
![Page 80: FHI Berlin, 22.05.19 Dr. Philip Laserstein...2019/05/22 · 2 MathWorks at a Glance Office locations Distributors serving 16 countries Privately held More than 4500 employees worldwide](https://reader036.vdocument.in/reader036/viewer/2022071223/6085a44432dbbe3d3a08cd13/html5/thumbnails/80.jpg)
82© 2019 The MathWorks, Inc.
Questions & User-Feedback