Course Outline
Part 1
A Brief Introduction to MATLAB
Objectives: Provide an overview of MATLAB’s purpose, components, and capabilities.
- Comparison: C vs. MATLAB
- Overview of MATLAB products
- Application fields for MATLAB
- Benefits of using MATLAB
- Course outline
Working with the MATLAB User Interface
Objective: Introduce the main features of MATLAB’s integrated design environment and user interface, along with an overview of course themes.
- Navigating the MATLAB Interface
- Reading data from files
- Saving and loading variables
- Plotting data
- Customizing plots
- Calculating statistics and fitting lines
- Exporting graphics for use in other applications
Variables and Expressions
Objective: Learn to enter MATLAB commands, focusing on creating and accessing data within variables.
- Entering commands
- Creating variables
- Accessing help resources
- Accessing and modifying variable values
- Creating character variables
Analysis and Visualization with Vectors
Objective: Perform mathematical and statistical calculations with vectors and create basic visualizations. Discover how MATLAB syntax allows for calculations on entire datasets using single commands.
- Vector calculations
- Plotting vectors
- Basic plot options
- Annotating plots
Analysis and Visualization with Matrices
Objective: Utilize matrices as mathematical objects or as collections of vector data. Understand the appropriate MATLAB syntax to distinguish between these applications.
- Size and dimensionality
- Matrix calculations
- Statistics with matrix data
- Plotting multiple columns
- Reshaping and linear indexing
- Multidimensional arrays
Part 2
Automating Commands with Scripts
Objective: Group MATLAB commands into scripts for ease of reproduction and experimentation. As task complexity increases, entering long sequences of commands in the Command Window becomes impractical.
- A modeling example
- Using the Command History
- Creating script files
- Running scripts
- Comments and code cells
- Publishing scripts
Working with Data Files
Objective: Import data from formatted files into MATLAB. Since imported data can vary widely in type and format, the emphasis is on working with cell arrays and date formats.
- Importing data
- Handling mixed data types
- Working with cell arrays
- Conversions among numerals, strings, and cells
- Exporting data
Multiple Vector Plots
Objective: Create more complex vector plots, including multiple plots, using color and string manipulation techniques to produce visually engaging data representations.
- Graphics structure
- Multiple figures, axes, and plots
- Plotting equations
- Using color
- Customizing plots
Logic and Flow Control
Objective: Use logical operations, variables, and indexing to create flexible code that makes decisions and adapts to different situations. Explore programming constructs for repeating code sections and interacting with users.
- 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 differences between displaying images and visualizing matrix data through imagery.
- 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 common data analysis tasks in MATLAB, such as developing and fitting theoretical models to real-world data. This leads to one of MATLAB’s powerful features: solving linear systems of equations with a single command.
- Handling missing data
- Correlation analysis
- Smoothing techniques
- Spectral analysis and FFTs
- Solving linear systems of equations
Writing Functions
Objective: Enhance automation by encapsulating modular tasks as user-defined functions. Understand how MATLAB resolves references to files and variables.
- Why use functions?
- Creating functions
- Adding comments
- Calling subfunctions
- Workspaces
- Subfunctions
- Path and precedence
Data Types
Objective: Explore data types, focusing on the syntax for creating variables and accessing array elements, and discuss methods for converting among data types. Data types differ in the kind of data they may contain and how that data is organized.
- MATLAB data types
- Integers
- Structures
- Converting types
File I/O
Objective: Explore low-level data import and export functions in MATLAB that allow precise control over text and binary file I/O. These functions include textscan, which provides precise control when reading text files.
- Opening and closing files
- Reading and writing text files
- Reading and writing binary files
Note that the actual delivery may be subject to minor discrepancies from the outline above without prior notification.
Conclusion
Note that the actual delivery may be subject to minor discrepancies from the outline above without prior notification.
Objectives: Summarize what has been learned
- A summary of the course
- Other upcoming courses on MATLAB
Note that the course might be subject to a few minor discrepancies when being delivered without prior notifications.
Requirements
- Fundamental undergraduate-level mathematical knowledge, including linear algebra, probability theory, statistics, and matrices
- Basic computer operations
- A preference for some familiarity with another high-level programming language (e.g., C, PASCAL, FORTRAN, or BASIC), though this is not essential
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