Matlab
From Waisman Brain Imaging Wiki
MATLAB is a general-purpose mathematical analysis system and programming language. It is used heavily in the labs for all sorts of tasks, but primarily for EEG data processing and analysis; it is also underlies the SPM image analysis suite. MATLAB runs on Windows, OS X, Linux, and other UNIX-y platforms.
MATLAB versions can be confusing and you often need to be aware of which version you're using, as not all programs run correctly under all versions. Starting with version 6, MATLAB added new graphical and object-oriented features and also changed the syntax of several existing commands. As a result, many older programs stopped functioning correctly with version 6. In addition, just to make things more confusing, MATLAB switched their versioning numbers from 5, 6, 7... to 12 (aka 6), 13 (aka 6.5), 13 (aka 7) ... This has seemed to stabilize with version 14, which has no "old numbers" equivalent.
MATLAB is produced by The Mathworks (http://www.mathworks.com/).
Matlab Resources
Company Resources
- Manual (http://psyphz.psych.wisc.edu/~clare/resources/MATLAB_MANUAL.pdf)
Third-Party Resources
- Toolbox Quick Reference Guide (http://psyphz.psych.wisc.edu/~clare/resources/matlab_toolbox_quickref.pdf)
Our Tips and Tweaks
- How to use MATBATCH to run lots of MATLAB jobs unattended.
Back to Software
Matlab Tutorial
Week One - April 6th, 2007
PowerPoints
- Scalars, Vectors and Matrices (http://psyphz.psych.wisc.edu/~mcmenamin/week1/scalarsVectorsAndMatrices.ppt)
Strings and Cell Arrays (http://psyphz.psych.wisc.edu/~mcmenamin/week1/stringsAndCellArrays.ppt)
Important Functions (http://psyphz.psych.wisc.edu/~mcmenamin/week1/functions.ppt)
HomeWork
- Instructions for Part A (http://psyphz.psych.wisc.edu/~mcmenamin/week1/hw1/a/Instructions_hw1a.txt) (Data (http://psyphz.psych.wisc.edu/~mcmenamin/week1/hw1/a/hw1a.DAT), Answers (http://psyphz.psych.wisc.edu/~mcmenamin/week1/hw1/a/Answers_hw1a.txt))
Instructions for Part B (http://psyphz.psych.wisc.edu/~mcmenamin/week1/hw1/b/Instructions_hw1b.txt) ([Data File 1 (http://psyphz.psych.wisc.edu/~mcmenamin/week1/hw1/b/Group_A.txt), Data File 2 (http://psyphz.psych.wisc.edu/~mcmenamin/week1/hw1/b/Group_B.txt),Answers (http://psyphz.psych.wisc.edu/~mcmenamin/week1/hw1/b/Answers_hw1b.txt))
Week Two - April 13th, 2007
PowerPoints
- Loops and Program Control (http://psyphz.psych.wisc.edu/~mcmenamin/week2/Matlab_loops_and_program_control.ppt)
More Functions (http://psyphz.psych.wisc.edu/~mcmenamin/week2/More_useful_functions.ppt)
HomeWork
- Instructions (http://psyphz.psych.wisc.edu/~mcmenamin/week2/homework_instructions_for_week2.txt) (Data (http://psyphz.psych.wisc.edu/~mcmenamin/week2/homework_data_week2.txt), Answers (http://psyphz.psych.wisc.edu/~mcmenamin/week2/homework_solution_week2.m))
Week Three - April 20th, 2007
PowerPoints
- None
HomeWork
- We're going over homework from weeks 1 and 2

