matlab expo 2018 munich€¦ · matlab onramp course part 1: ch. 1-7 (in lecture or at home) day 1:...

33
Verfasser Datum / Seitenzahl Titel der Präsentation evtl. zweizeilig Manuel Stich 11.04.2018/ 1 MedTech Summit 2018 Power Pitch MATLAB Expo 2018 Munich MATLAB for Engineers @ Universities From the Basics to the Professionalized Use in Research & Industry Manuel Stich

Upload: others

Post on 28-May-2020

19 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: MATLAB Expo 2018 Munich€¦ · MATLAB Onramp Course part 1: Ch. 1-7 (in lecture or at home) Day 1: ~4-5h MATLAB Course: MATLAB Introduction. Manuel, Stich 11.04.2018/ 14 MATLAB EXPO

VerfasserDatum / Seitenzahl

Titel der Präsentationevtl. zweizeilig

Manuel Stich

11.04.2018/ 1MedTech Summit 2018 – Power Pitch

MATLAB Expo 2018 – Munich

MATLAB for Engineers @ Universities

From the Basics to the Professionalized Use in Research & Industry

Manuel Stich

Page 2: MATLAB Expo 2018 Munich€¦ · MATLAB Onramp Course part 1: Ch. 1-7 (in lecture or at home) Day 1: ~4-5h MATLAB Course: MATLAB Introduction. Manuel, Stich 11.04.2018/ 14 MATLAB EXPO

Manuel, Stich

11.04.2018/ 2MATLAB EXPO 2018, Munich

“Develop a 3 days course for engineering studies which should support

the content of lectures in the fields of science, research and (medical) engineering.”

(as an introduction and as further preparation)

Goal of the MATLAB Course

Page 3: MATLAB Expo 2018 Munich€¦ · MATLAB Onramp Course part 1: Ch. 1-7 (in lecture or at home) Day 1: ~4-5h MATLAB Course: MATLAB Introduction. Manuel, Stich 11.04.2018/ 14 MATLAB EXPO

Manuel, Stich

11.04.2018/ 3MATLAB EXPO 2018, Munich

MATLAB CourseMATAB Basics + MATLAB Applications in Engineering

Goal of the MATLAB Course

Page 4: MATLAB Expo 2018 Munich€¦ · MATLAB Onramp Course part 1: Ch. 1-7 (in lecture or at home) Day 1: ~4-5h MATLAB Course: MATLAB Introduction. Manuel, Stich 11.04.2018/ 14 MATLAB EXPO

Manuel, Stich

11.04.2018/ 4MATLAB EXPO 2018, Munich

a) Applications: Exercises, integration in research projects

b) Interdisciplinarity: Eligible to a broad spectrum of studies

c) Future potential: Online learning!

Key Features

Page 5: MATLAB Expo 2018 Munich€¦ · MATLAB Onramp Course part 1: Ch. 1-7 (in lecture or at home) Day 1: ~4-5h MATLAB Course: MATLAB Introduction. Manuel, Stich 11.04.2018/ 14 MATLAB EXPO

Manuel, Stich

11.04.2018/ 5MATLAB EXPO 2018, Munich

Medical Engineering

Environmental Engineering

Industrial Engineering

Plastics Engineering

Industry 4.0 Informatics

Geoinformatics

Engineering

Studies

Electrical Engineering

Mechanical Engineering

Applied Computer Sciences

Interdisciplinarity

Page 6: MATLAB Expo 2018 Munich€¦ · MATLAB Onramp Course part 1: Ch. 1-7 (in lecture or at home) Day 1: ~4-5h MATLAB Course: MATLAB Introduction. Manuel, Stich 11.04.2018/ 14 MATLAB EXPO

Manuel, Stich

11.04.2018/ 6MATLAB EXPO 2018, Munich

Medical

Engineering

Natural

ScienceMechatronics

Medicine

related

Integration

Classes

Me

ch

an

ics

Ele

ctr

on

ics

Co

mp

ute

r S

cie

nc

es

Interdisciplinarity

Page 7: MATLAB Expo 2018 Munich€¦ · MATLAB Onramp Course part 1: Ch. 1-7 (in lecture or at home) Day 1: ~4-5h MATLAB Course: MATLAB Introduction. Manuel, Stich 11.04.2018/ 14 MATLAB EXPO

Manuel, Stich

11.04.2018/ 7MATLAB EXPO 2018, Munich

Electrical

Engineering

Mechanical

Engineering

Applied

Computer

Sciences

Integration

Studies

Intersection

• Data Analytics & Data Visualization

• Signal & Image Processing

• Vibrations Theory

• Mobile Sensors

• Neural Networks

Interdisciplinarity

Page 8: MATLAB Expo 2018 Munich€¦ · MATLAB Onramp Course part 1: Ch. 1-7 (in lecture or at home) Day 1: ~4-5h MATLAB Course: MATLAB Introduction. Manuel, Stich 11.04.2018/ 14 MATLAB EXPO

Manuel, Stich

11.04.2018/ 8MATLAB EXPO 2018, Munich

Which programming language

should we choose?

Programming Language

Page 9: MATLAB Expo 2018 Munich€¦ · MATLAB Onramp Course part 1: Ch. 1-7 (in lecture or at home) Day 1: ~4-5h MATLAB Course: MATLAB Introduction. Manuel, Stich 11.04.2018/ 14 MATLAB EXPO

Manuel, Stich

11.04.2018/ 9MATLAB EXPO 2018, Munich

Widely used in research

and industry

Provides very cool and

useful toolboxes

Best documentation ever!

$$$

Widely used

programming language

Inexpensive, free

Lame documentation

Version divergence

Good documentation

Only used in academic –

week usage in industry

$$$, no licenses available

Not a gold standard in

numerical computing

Programming Language

Page 10: MATLAB Expo 2018 Munich€¦ · MATLAB Onramp Course part 1: Ch. 1-7 (in lecture or at home) Day 1: ~4-5h MATLAB Course: MATLAB Introduction. Manuel, Stich 11.04.2018/ 14 MATLAB EXPO

Manuel, Stich

11.04.2018/ 10MATLAB EXPO 2018, Munich

Heavily used in research

and industry

Provides cool and useful

toolboxes

Best documentation ever!

Powerful in numerical

computing + MuPAD®

Mathematical syntax, easy

for non-programmers

Embedded code

generation possible

Programming Language

Page 11: MATLAB Expo 2018 Munich€¦ · MATLAB Onramp Course part 1: Ch. 1-7 (in lecture or at home) Day 1: ~4-5h MATLAB Course: MATLAB Introduction. Manuel, Stich 11.04.2018/ 14 MATLAB EXPO

Manuel, Stich

11.04.2018/ 11MATLAB EXPO 2018, Munich

„Easy and straightforward introduction in Neural Networks

for unexperienced users who want to apply Neural

Networks to certain problems in engineering“

Programming Language

Page 12: MATLAB Expo 2018 Munich€¦ · MATLAB Onramp Course part 1: Ch. 1-7 (in lecture or at home) Day 1: ~4-5h MATLAB Course: MATLAB Introduction. Manuel, Stich 11.04.2018/ 14 MATLAB EXPO

Manuel, Stich

11.04.2018/ 12MATLAB EXPO 2018, Munich

MATLAB: a

programming language

Applications in

Engineering

MATLAB in

Research ProjectsMATLAB Basics

Introduction

MATLAB for Engineers @ Universities

~10h ~10-12h ~5h

MATLAB Course

Page 13: MATLAB Expo 2018 Munich€¦ · MATLAB Onramp Course part 1: Ch. 1-7 (in lecture or at home) Day 1: ~4-5h MATLAB Course: MATLAB Introduction. Manuel, Stich 11.04.2018/ 14 MATLAB EXPO

Manuel, Stich

11.04.2018/ 13MATLAB EXPO 2018, Munich

MATLAB Basics▪First launch: MATLAB IDE and GUI

▪Variables and value assignment

▪MATLAB – MATrix LABoratory: Vectors and matrices

❖ Examples from linear algebra

❖ From command window to MATLAB scripts

▪Data visualization

❖ Data and function plotting

❖ Ways to visualize data and create a nice figure for publication

▪MATLAB Documentation

▪MATLAB Onramp Course part 1: Ch. 1-7 (in lecture or at home)

Day 1: ~4-5h

MATLAB Course:

MATLAB Introduction

Page 14: MATLAB Expo 2018 Munich€¦ · MATLAB Onramp Course part 1: Ch. 1-7 (in lecture or at home) Day 1: ~4-5h MATLAB Course: MATLAB Introduction. Manuel, Stich 11.04.2018/ 14 MATLAB EXPO

Manuel, Stich

11.04.2018/ 14MATLAB EXPO 2018, Munich

MATLAB: a programming language▪Questions concerning the last lecture

▪Branching

❖ If-else

❖ Switch-case

❖ Try-catch

▪For- and while loops

▪MATLAB functions

❖ Subfunctions

❖ Nested Functions

❖ Function Handles

▪Debugging

▪Exercise: Sinus series expansion

▪MATLAB Onramp Course part 2: Ch. 9-12 (in lecture or at home)

Day 2: 5-6h

• Theory and comparison to other programming languages

• One exercise together

• One exercise alone

MATLAB Course:

MATLAB Introduction

Page 15: MATLAB Expo 2018 Munich€¦ · MATLAB Onramp Course part 1: Ch. 1-7 (in lecture or at home) Day 1: ~4-5h MATLAB Course: MATLAB Introduction. Manuel, Stich 11.04.2018/ 14 MATLAB EXPO

Manuel, Stich

11.04.2018/ 15MATLAB EXPO 2018, Munich

Great sources to get help!

Documentation Webinars Matlab Central

• Definitions

• Many examples

• Table of content

• Content suggestions

• Offline accessible

• Introductory topics

• Application topics

• Weekly updates

• Special webinars for

academics

• Helpful community

• Forum

• Code (file exchange)

Getting Help!

Page 16: MATLAB Expo 2018 Munich€¦ · MATLAB Onramp Course part 1: Ch. 1-7 (in lecture or at home) Day 1: ~4-5h MATLAB Course: MATLAB Introduction. Manuel, Stich 11.04.2018/ 14 MATLAB EXPO

Manuel, Stich

11.04.2018/ 16MATLAB EXPO 2018, Munich

Applications in Engineering

Neural Networks

Theory of Vibration

Mobile Sensors

Data Analytics

&

Data Visualization

Signal Processing

&

Image Processing

5h

4h 3h

2h 4h

MATLAB Course:

MATLAB Introduction

Page 17: MATLAB Expo 2018 Munich€¦ · MATLAB Onramp Course part 1: Ch. 1-7 (in lecture or at home) Day 1: ~4-5h MATLAB Course: MATLAB Introduction. Manuel, Stich 11.04.2018/ 14 MATLAB EXPO

Manuel, Stich

11.04.2018/ 17MATLAB EXPO 2018, Munich

MATLAB Course: Applications

MATLAB: Application in Engineering Data Analysis & Data Visualization

Data Preprocessing Data AnalysisData Visualization

• Histograms

• Scatter-plots

• Box-plots/Whisker-plots

• Cross correlation/covariance

• Data curve fitting

• Data models

1. Data import / export

2. Data wrangling

3. Preanalysis, descriptive-

preanylsis)

4. Data cleansing

5. Data reduction

Page 18: MATLAB Expo 2018 Munich€¦ · MATLAB Onramp Course part 1: Ch. 1-7 (in lecture or at home) Day 1: ~4-5h MATLAB Course: MATLAB Introduction. Manuel, Stich 11.04.2018/ 14 MATLAB EXPO

Manuel, Stich

11.04.2018/ 18MATLAB EXPO 2018, Munich

MATLAB Course: Applications

MATLAB: Application in Engineering Signal and Image Processing

DICOM Images

Read “image.dcm” data

Image AnalysisImage Enhancement

Sobel-filter: Edge-sharpening

Gx Gy

−1 0 1−2 0 2−1 0 1

1 2 10 0 0−1 −2 −1

load mri

imshow(D(:,:,:,8),map)imhist(im,#numBins)T=otsuthresh(counts)

Bin=imbinarize(im,T)

Segmentation Properties

1

2

SNR

CNR

Page 19: MATLAB Expo 2018 Munich€¦ · MATLAB Onramp Course part 1: Ch. 1-7 (in lecture or at home) Day 1: ~4-5h MATLAB Course: MATLAB Introduction. Manuel, Stich 11.04.2018/ 14 MATLAB EXPO

Manuel, Stich

11.04.2018/ 19MATLAB EXPO 2018, Munich

1. Set up DE

a) 1

𝐶∙ 𝑄 + 𝑅 ∙ ሶ𝑄 + 𝐿 ∙ ሷ𝑄 = 0

b) 𝐷 ∙ 𝑥 + 𝑦 ∙ ሶ𝑥 + 𝑚 ∙ ሷ𝑥 = 0

2. Solve DE

a)

b)

Electronics vs. Mechanics

Electronics

Q

1/C

R

L

Mechanics

x

D

y

m

MATLAB Course: Applications

MATLAB: Application in Engineering Theory of Vibration

Page 20: MATLAB Expo 2018 Munich€¦ · MATLAB Onramp Course part 1: Ch. 1-7 (in lecture or at home) Day 1: ~4-5h MATLAB Course: MATLAB Introduction. Manuel, Stich 11.04.2018/ 14 MATLAB EXPO

Manuel, Stich

11.04.2018/ 20MATLAB EXPO 2018, Munich

CNN

Deep

Learning

Object Detection

MATLAB Course: Applications

MATLAB: Application in Engineering Neuronal Networks

Page 21: MATLAB Expo 2018 Munich€¦ · MATLAB Onramp Course part 1: Ch. 1-7 (in lecture or at home) Day 1: ~4-5h MATLAB Course: MATLAB Introduction. Manuel, Stich 11.04.2018/ 14 MATLAB EXPO

Manuel, Stich

11.04.2018/ 21MATLAB EXPO 2018, Munich

CNN

Transfer

Learning

Object Detection

MyNetOWN-TRAINED MODEL

Training Data

84% 91% 63%

BURGER HOTDOG CUPCAKE

MATLAB Course: Applications

MATLAB: Application in Engineering Neuronal Networks

Page 22: MATLAB Expo 2018 Munich€¦ · MATLAB Onramp Course part 1: Ch. 1-7 (in lecture or at home) Day 1: ~4-5h MATLAB Course: MATLAB Introduction. Manuel, Stich 11.04.2018/ 14 MATLAB EXPO

Manuel, Stich

11.04.2018/ 22MATLAB EXPO 2018, Munich

Deep Learning Transfer Learning Face Detection

• Use of AlexNet

• Pre-trained model

• Working on a high

abstraction layer

• ~ 20 lines of code

• Own-trained neuronal

net

• Choose correct

training data set

• Working on a lower

abstraction layer

• Combination of pre-

trained and

own-trained model

• Low abstraction layer

• Application

• ~ 200 lines of code

Complexity

MATLAB Course: Applications

MATLAB: Application in Engineering Neuronal Networks

Page 23: MATLAB Expo 2018 Munich€¦ · MATLAB Onramp Course part 1: Ch. 1-7 (in lecture or at home) Day 1: ~4-5h MATLAB Course: MATLAB Introduction. Manuel, Stich 11.04.2018/ 14 MATLAB EXPO

Manuel, Stich

11.04.2018/ 23MATLAB EXPO 2018, Munich

MATLAB in research projects

• In-vitro investigation on the influence of ionizing radiation on active medical

implants (energy range: 50kV – 15MV, realistic application/test set-up).

• Development of a standardized test method for the functional control of AIMDs

under the influence of ionizing radiation.

Cooperation partners: Supported by:

MATLAB Course:

Research Project

Page 24: MATLAB Expo 2018 Munich€¦ · MATLAB Onramp Course part 1: Ch. 1-7 (in lecture or at home) Day 1: ~4-5h MATLAB Course: MATLAB Introduction. Manuel, Stich 11.04.2018/ 14 MATLAB EXPO

Manuel, Stich

11.04.2018/ 24MATLAB EXPO 2018, Munich

• Oversensing

• Device resets (to initial state)

• Pulse generator damage

• Damage of lead tissue interface

• Reset to factory programming

• Decrease in pacing amplitude

• Decrease in shock energy (ICD)

• Shock coil failure (ICD)

• Total, catastrophic defect

MATLAB in research projects

MATLAB Course:

Research Project

Page 25: MATLAB Expo 2018 Munich€¦ · MATLAB Onramp Course part 1: Ch. 1-7 (in lecture or at home) Day 1: ~4-5h MATLAB Course: MATLAB Introduction. Manuel, Stich 11.04.2018/ 14 MATLAB EXPO

Manuel, Stich

11.04.2018/ 25MATLAB EXPO 2018, Munich

MATLAB in research projects

MATLAB Course:

Research Project

Page 26: MATLAB Expo 2018 Munich€¦ · MATLAB Onramp Course part 1: Ch. 1-7 (in lecture or at home) Day 1: ~4-5h MATLAB Course: MATLAB Introduction. Manuel, Stich 11.04.2018/ 14 MATLAB EXPO

Manuel, Stich

11.04.2018/ 26MATLAB EXPO 2018, Munich

Data Acquisition Data Analysis

MATLAB in research projects

MATLAB Course:

Research Project

Page 27: MATLAB Expo 2018 Munich€¦ · MATLAB Onramp Course part 1: Ch. 1-7 (in lecture or at home) Day 1: ~4-5h MATLAB Course: MATLAB Introduction. Manuel, Stich 11.04.2018/ 14 MATLAB EXPO

Manuel, Stich

11.04.2018/ 27MATLAB EXPO 2018, Munich

MATLAB Live Editor

▪Manuscript and code in one document

▪Equation/image/text embedding

▪Code sectioning and easy structuring

▪Result appear next to code

MATLAB Course

Page 28: MATLAB Expo 2018 Munich€¦ · MATLAB Onramp Course part 1: Ch. 1-7 (in lecture or at home) Day 1: ~4-5h MATLAB Course: MATLAB Introduction. Manuel, Stich 11.04.2018/ 14 MATLAB EXPO

Manuel, Stich

11.04.2018/ 28MATLAB EXPO 2018, Munich

• All participants must be in the same

place at the same time

• All participants should have the same

relevant prior knowledge so that general

learning progress is not hindered

• The learning pace is not individualizable

Classroom Training E-Learning

• Independent of time and place

• No personal contact between the

students and the lecturer

• No discussions possible

Digital MATLAB Course

Page 29: MATLAB Expo 2018 Munich€¦ · MATLAB Onramp Course part 1: Ch. 1-7 (in lecture or at home) Day 1: ~4-5h MATLAB Course: MATLAB Introduction. Manuel, Stich 11.04.2018/ 14 MATLAB EXPO

Manuel, Stich

11.04.2018/ 29MATLAB EXPO 2018, Munich

MATLAB Course

Biomechanics

MATLAB Knowledge Base EnvironmentTraditional Classroom Training + Online Content

Statistics

Signal Processing

Image Processing

Classroom Training +

Online Content

Classroom Training /

Online ContentTraditional

or

online exam

Online for

external users

Digital MATLAB Course

Page 30: MATLAB Expo 2018 Munich€¦ · MATLAB Onramp Course part 1: Ch. 1-7 (in lecture or at home) Day 1: ~4-5h MATLAB Course: MATLAB Introduction. Manuel, Stich 11.04.2018/ 14 MATLAB EXPO

Manuel, Stich

11.04.2018/ 30MATLAB EXPO 2018, Munich

Biomechanics

Statistics

Theory of Vibration

Image Processing

Mechanics

Diagnostic Imaging

BA/MA Thesis

Therapeutical Systems

etc.

Digital MATLAB Course

Currently integrated subjects

Internships

Software Engineering Pattern Recognition

Page 31: MATLAB Expo 2018 Munich€¦ · MATLAB Onramp Course part 1: Ch. 1-7 (in lecture or at home) Day 1: ~4-5h MATLAB Course: MATLAB Introduction. Manuel, Stich 11.04.2018/ 14 MATLAB EXPO

Manuel, Stich

11.04.2018/ 31MATLAB EXPO 2018, Munich

https://michiganross.umich.edu

Digital MATLAB Course

Page 32: MATLAB Expo 2018 Munich€¦ · MATLAB Onramp Course part 1: Ch. 1-7 (in lecture or at home) Day 1: ~4-5h MATLAB Course: MATLAB Introduction. Manuel, Stich 11.04.2018/ 14 MATLAB EXPO

Manuel, Stich

11.04.2018/ 32MATLAB EXPO 2018, Munich

Questions Exercises

Contact

• Message-system

• (Online) office hours

Digital MATLAB Course

Page 33: MATLAB Expo 2018 Munich€¦ · MATLAB Onramp Course part 1: Ch. 1-7 (in lecture or at home) Day 1: ~4-5h MATLAB Course: MATLAB Introduction. Manuel, Stich 11.04.2018/ 14 MATLAB EXPO

Manuel, Stich

11.04.2018/ 33MATLAB EXPO 2018, Munich

MATLAB for Engineers

@ Universities

Many Thanks to

• Prof. Dr. Clemens BulittaDean, Faculty of Industrial Engineering

• Prof. Dr. Ralf RinglerProfessor for Medical Physics,

Great MATLAB Supporter, My Supervisor

• MathWorks, MunichProviding Help, Support with Material

All my students for their

great participation, support

and good suggestions for

improving of the course!