Session 1: Introduction to Matlab
Contents
- What’s in a name
- Very simple matrix algebra
- What are matrices, vectors and strings?
- Entering matrices, vectors and strings
- Indexing matrices, vectors and strings
- 3 dimensional and >3 dimensional matrices
- Using the built-in functions
- How to plot a simple x-y (scatter) graph
- Saving your work
Course Materials
Paul, might put his materials here sometime if he is organised enough.
Session 2: Writing your own scripts and functions
Contents
- What is a script?
- Commenting
- Indenting correctly
- Loading data into Matlab
- Data structure and paths
- For, if, and while loops
- Boolean operators (< > = <=)
- Logical operators (if or and)
- Switches
- Debugging
- How to write your own a functions
- How to avoid re-inventing the wheel
- Useful built-in functions
Course Materials
See also the set of SIU Matlab tutorials.
Session 3: Data visualisation and plotting
Contents
- More complex x-y (scatter) plots
- Regression
- Histograms
- Adding lines and text to plots
- Formatting lines and text
- Adding filled patches to plots
- Adding transparent elements to plots
- Manipulating axes
- Adding latex labels to axes
- griding your data
- 1D, 2D and 3D interpolation
- Handling NaN’s
- Producing image plots
- Producing contour plots
- Controlling the colorbar and making colormaps
- Producing quiver (arrow) plots
- Multiple plots (subplot)
- Plotting data in 3 dimensions
- Exporting finished figures
Course Materials
|
|