This is a short introduction to get you started with MATLAB for scientific computing and machine learning. We assume you have some programming experience in another high-level programming language.
TOPICS AND NOTES
- Unit 1: Getting started (MATLAB environment, help, variables, built-in functions, scripts (example_script.m), save & load)
- Unit 2: Arrays (vectors, matrices, and strings)
- Unit 3: Functions (exampleFunction.m, *Advanced topics on functions)
- Unit 4: Logicals and Random Numbers
- Unit 5: If-else and Loops (example_sinTolerance.m)
- Unit6: Plotting
- Materials (zip-file containing all examples and data for excercises)
EXERCISES
- Exercise 1 (Getting Started, Arrays)
- Exercise 2 (Functions, Plotting, Loops)
- Exercise 3 (Squared Distances between Data Points)
USEFUL REFERENCES (CHEAT SHEETS AND VIDEOS)
- Cheat sheet (1 page)
- Cheat sheet (2 pages)
- MATLAB, Python (numpy), R
- 5min tutorial video on The MATLAB Development Environment
- 5min tutorial video on Programming and Developing Algorithms with MATLAB