Course Outline
Part 1
An Introduction to MATLAB
Objective: Provide an overview of the nature of MATLAB, its components, and its capabilities
- Case Study: C vs. MATLAB
- MATLAB Product Overview
- MATLAB Application Areas
- What MATLAB can do for you?
- Course Structure
Interacting with the MATLAB User Interface
Objective: Introduce the primary features of the MATLAB integrated design environment and its user interface. Provide an overview of the course themes.
- MATLAB Interface
- Reading data from files
- Saving and loading variables
- Plotting data
- Customizing plots
- Calculating statistics and best-fit lines
- Exporting graphics for use in other applications
Variables and Expressions
Objective: Input MATLAB commands, focusing on the creation and access of data within variables.
- Entering commands
- Creating variables
- Accessing help documentation
- Accessing and modifying variable values
- Creating character variables
Vector Analysis and Visualization
Objective: Perform mathematical and statistical calculations using vectors and generate basic visualizations. Demonstrate how MATLAB syntax allows for calculations across entire datasets with a single command.
- Vector calculations
- Vector plotting
- Basic plot options
- Annotating plots
Matrix Analysis and Visualization
Objective: Utilize matrices as mathematical objects or as collections of vector data. Understand the correct application of MATLAB syntax to differentiate between these uses.
- Size and dimensionality
- Matrix calculations
- Statistics for matrix data
- Plotting multiple columns
- Reshaping and linear indexing
- Multi-dimensional arrays
Part 2
Scripting for Command Automation
Objective: Group MATLAB commands into scripts to facilitate reproducibility and experimentation. As task complexity grows, inputting long command sequences directly into the Command Window becomes inefficient.
- A Modelling Example
- Command History
- Creating script files
- Executing scripts
- Comments and Code Cells
- Script publication
Managing Data Files
Objective: Import data into MATLAB from formatted files. Given the variety of data types and formats, emphasis is placed on handling cell arrays and date formats.
- Data import
- Mixed data types
- Cell arrays
- Conversions between numbers, strings, and cells
- Data export
Advanced Vector Plotting
Objective: Create complex vector plots, including multiple plots, and utilize color and string manipulation techniques to generate engaging data visualizations.
- Graphics structure
- Multiple figures, axes, and plots
- Plotting equations
- Using color
- Plot customization
Logic and Flow Control
Objective: Employ logical operations, variables, and indexing techniques to write flexible code capable of decision-making and adaptation. Explore programming constructs for code repetition and user interaction.
- Logical operations and variables
- Logical indexing
- Programming constructs
- Flow control
- Loops
Matrix and Image Visualization
Objective: Visualize images and matrix data in two or three dimensions. Explore the distinctions between displaying images and visualizing matrix data via images.
- Scattered Interpolation using vector and matrix data
- 3-D matrix visualization
- 2-D matrix visualization
- Indexed images and colormaps
- True color images
Part 3
Data Analysis
Objective: Perform standard data analysis tasks in MATLAB, including the development and fitting of theoretical models to real-world data. This leads to one of MATLAB's most powerful features: solving linear systems of equations with a single command.
- Handling missing data
- Correlation
- Smoothing
- Spectral analysis and FFTs
- Solving linear systems of equations
Function Creation
Objective: Enhance automation by encapsulating modular tasks into user-defined functions. Understand how MATLAB resolves references to files and variables.
- The role of functions
- Creating functions
- Adding comments
- Calling subfunctions
- Workspaces
- Subfunctions
- Path and precedence
Data Types
Objective: Examine data types, focusing on syntax for variable creation and array element access, and discuss methods for converting between types. Data types vary in the kind of data they hold and their organizational structure.
- MATLAB data types
- Integers
- Structures
- Type conversion
File I/O
Objective: Investigate low-level data import and export functions in MATLAB that offer precise control over text and binary file I/O. These include textscan, which allows for precise text file reading.
- Opening and closing files
- Reading and writing text files
- Reading and writing binary files
Please note that the actual delivery may differ slightly from the outline above without prior notice.
Conclusion
Please note that the actual delivery may differ slightly from the outline above without prior notice.
Objective: Summarize key learning outcomes
- Course summary
- Other upcoming MATLAB courses
Please note that the course delivery may be subject to minor adjustments without prior notification.
Requirements
- Fundamental understanding of undergraduate-level mathematics, including linear algebra, probability theory, statistics, and matrices
- Basic computer literacy
- Familiarity with a high-level programming language such as C, Pascal, Fortran, or Basic is advantageous, though not mandatory
Testimonials (2)
The many examples and the building of the code from start to finish.
Toon - Draka Comteq Fibre B.V.
Course - Introduction to Image Processing using Matlab
Many useful exercises, well explained