Skip to content
magnesium2400 edited this page Apr 4, 2023 · 11 revisions

MATLAB

Reproduced from http://web.khu.ac.kr/~tskim/PM_2_3_Introduction%20to%20Matlab%202.pdf

MATLAB is a high-performance programming environment for numerical and technical applications. The first version was written at the University of New Mexico in the 1970s. The “MATrix LABoratory” program was invented by Cleve Moler to provide a simple and interactive way to write programs using the Linpack and Eispack libraries of FORTRAN subroutines for matrix manipulation. MATLAB has since evolved to become an effective and powerful tool for programming, data visualisation and analysis, education, engineering and research.

The strengths of MATLAB include extensive data handling and graphics capabilities, powerful programming tools and highly advanced algorithms. Although it specialises in numerical computation, MATLAB is also capable of performing symbolic computation by having an interface with Maple (a leading symbolic mathematics computing environment). Besides fast numerics for linear algebra and the availability of a large number of domainspecific built-in functions and libraries (e.g., for statistics, optimization, image processing, neural networks), another useful feature of MATLAB is its capability to easily generate various kinds of visualisations of your data and/or simulation results.

For every MATLAB feature in general, and for graphics in particular, the usefulness of MATLAB is mainly based on the large number of built-in functions and libraries. The intention of this tutorial is not to provide a comprehensive coverage of all MATLAB features but rather to prepare you for your own exploration of its functionality.

Getting Set Up (5 minutes)

MATLAB on MASSIVE

Option 1: via GUI

    * Login to MASSIVE desktop
    * Go To Applications > General Scientific > MATLAB

example_sc

Option 2: via command line

    * Login to MASSIVE desktop
    * Open terminal 
    * Type module load matlab/r2022b
    * Type matlab &

MATLAB on your own computer

Follow the Monash Uni instructions here: https://www.monash.edu/esolutions/software/mathworks-register

Introduction

This tutorial from MathWorks provides an introduction to the graphical user interface (GUI), matrices and arrays, text and characters, generating plots, and making functions and scripts - all the basics you need to get started reading and writing code. You should be very familiar with all the content covered in this short course.

Applications in Neuroimaging

Introduction to data analysis

Freesurfer in MATLAB

GifTi

https://github.com/gllmflndn/gifti

NBS

SPM

Advanced Techniques

Clone this wiki locally