Open Science MATLAB
Open Science MATLAB
Jan Studnička
[email protected]
Jan Daněk
[email protected]
www.humusoft.cz
[email protected]
3 https://www.mathworks.com/solutions.html#industries
Applications specialized
autonomous systems and robotics
4
Data Analysis Workflow
Algorithm
Software Outputs for Design
Development
Automate
5
Workshop information
• MATLAB Online
– matlab.mathworks.com
• Examples
– humusoft.cz/muni
If you don’t have account,
create one with your
university’s email address
6
MATLAB desktop
Toolstrip Workspace
file and data management, APPS variables in MATLAB memory
Documentation
syntax, examples
Current Folder
folder browser
Command Window
interactive command prompt
7
What is Open Science?
FAIR Science
Open Infrastructure • MATLAB on Science Gateways
• MATLAB on Jupyter
• MATLAB on HPC infrastructure
Available via
• GitHub – Open with MATLAB Online
• Dandi Hub
Live Editor
Open Source MATLAB Community Toolboxes
DOI
200,000+ MATLAB
code repositories…
MATLAB
Tensorflow Pytorch
Cognitive
Core ML Chainer
Toolkit
Data
Compute
Code
https://www.egi.eu/case-study/mathworks/
31
Parallelize Code with Minimal Changes
MATLAB
Workers
Challenge
Analyze terabytes of MRI and MEG imaging data for
a study on cognitive abilities in old age
Solution
Use MATLAB to process the data on a high-
performance computing cluster and to apply
advanced statistical, optimization, and machine
learning techniques Structural MRI images of the brain of a typical healthy 19-year old
(left) and typical healthy 86-year old (right).
Results
▪ Multistep image processing pipeline automated “MATLAB Parallel Server not only reduces processing time;
▪ Data analysis accelerated on a 1200-core cluster it also lowers the barrier to entry into parallel computing—an
▪ Key influences on late-life cognitive health important consideration given the wide range of technical
identified abilities among our scientists.”
- Richard Henson, University of Cambridge
• When you are ready to run your MATLAB application beyond your desktop,
IT4Innovations has powerful HPC resources that allow you to run MATLAB
to scale using MATLAB Parallel Server
GPU
Multi-core CPU
Parallel Computing Toolbox
MATLAB Parallel Server
• To get started:
– https://docs.it4i.cz/software/numerical-languages/matlab
– [email protected]
RE-USE
Code Ocean: Code from Papers for Sharing and Reuse
Code Ocean
Code Ocean: Code from Papers for Sharing and Reuse
Open any code in the browser
No license required
Reproduce and verify results
What Can You Do With MATLAB Code?
https://www.humusoft.cz/univerzity/
40
Questions?