Course Outline
Part 1
A Brief Introduction to MATLAB
Objectives: Provide a comprehensive overview of MATLAB’s capabilities, components, and potential applications.
- Example: Comparing C and MATLAB
- Overview of MATLAB Products
- Application Domains for MATLAB
- Benefits of Using MATLAB
- Course Structure
Working with the MATLAB User Interface
Objective: Familiarize participants with the core features of the MATLAB integrated development environment and its interface, while outlining the course's primary themes.
- MATLAB Interface
- Importing data from files
- Saving and loading variables
- Data plotting
- Customizing plots
- Calculating statistics and fitting lines
- Exporting graphics for use in external applications
Variables and Expressions
Objective: Master MATLAB command entry, with a focus on creating and accessing data within variables.
- Entering commands
- Creating variables
- Accessing help resources
- Retrieving and modifying variable values
- Creating character variables
Analysis and Visualization with Vectors
Objective: Perform mathematical and statistical calculations on vectors and create basic visualizations. Discover how MATLAB syntax allows for efficient 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 collections of (vector) data. Learn to distinguish between these applications using appropriate MATLAB syntax.
- 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 easier reproduction and experimentation. As task complexity grows, entering long command sequences directly into the Command Window becomes inefficient, making scripts essential.
- A Modeling Example
- The Command History
- Creating script files
- Executing scripts
- Comments and Code Cells
- Publishing scripts
Working with Data Files
Objective: Import data into MATLAB from formatted files. Given the wide variety of data types and formats, emphasis is placed on working with cell arrays and date formats.
- Importing data
- Handling mixed data types
- Cell arrays
- Conversions among numerals, strings, and cells
- Exporting data
Multiple Vector Plots
Objective: Create more complex vector plots, including multiple plot layers, and utilize color and string manipulation techniques to produce visually compelling 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 techniques to write flexible code that can make decisions and adapt to different scenarios. 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 distinctions between displaying images and visualizing matrix data through 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 developing and fitting theoretical models to real-world data. This naturally 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
Writing Functions
Objective: Enhance automation by encapsulating modular tasks into user-defined functions. Understand how MATLAB resolves references to files and variables.
- Why 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 the way the data is organized.
- MATLAB data types
- Integers
- Structures
- Converting types
File I/O
Objective: Explore the 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 of reading text files.
- Opening and closing files
- Reading and writing text files
- Reading and writing binary files
Note that the actual delivered might be subject to minor discrepancies from the outline above without prior notification.
Conclusion
Note that the actual delivered might be subject to minor discrepancies from the outline above without prior notification.
Objectives: Summarise what we have learnt
- A summary of the course
- Other upcoming courses on MATLAB
Note that the course might be subject to few minor discrepancies when being delivered without prior notifications.
Requirements
- Fundamental understanding of undergraduate-level mathematics, including linear algebra, probability theory, statistics, and matrix operations
- Basic computer literacy and operational skills
- Familiarity with a high-level programming language (such as C, PASCAL, FORTRAN, or BASIC) is preferred but not mandatory
Testimonials (2)
That I knew topics that I didn't know
Ernesto Alonso Ocana Valenzuela - Instituto Tecnologico Superior de Comalcalco
Course - Introduction to Image Processing using Matlab
Machine Translated
Many useful exercises, well explained