# MATLAB Fundamentals Training Course

matlab2

## Duration

21 hours (usually 3 days including breaks)

## Requirements

•     Basic concept of undergraduate-level mathematical knowledge such as linear algebra, probablilty theory and statistics, as well as matrix
•     Basic computer operations
•     Preferably basic concept of another high-level programming language, such as C, PASCAL, FORTRAN, or BASIC, but not essential

## Overview

This three-day course provides a comprehensive introduction to the MATLAB technical computing environment. The course is intended for beginning users and those looking for a review. No prior programming experience or knowledge of MATLAB is assumed. Themes of data analysis, visualization, modeling, and programming are explored throughout the course. Topics include:

•     Working with the MATLAB user interface
•     Entering commands and creating variables
•     Analyzing vectors and matrices
•     Visualizing vector and matrix data
•     Working with data files
•     Working with data types
•     Automating commands with scripts
•     Writing programs with logic and flow control
•     Writing functions

## Course Outline

Part 1

A Brief Introduction to MATLAB

Objectives: Offer an overview of what MATLAB is, what it consists of, and what it can do for you

• An Example: C vs. MATLAB
• MATLAB Product Overview
• MATLAB Application Fields
• What MATLAB can do for you?
• The Course Outline

Working with the MATLAB User Interface

Objective: Get an introduction to the main features of the MATLAB integrated design environment and its user interfaces. Get an overview of course themes.

• MATALB Interface
• Plotting data
• Customizing plots
• Calculating statistics and best-fit line
• Exporting graphics for use in other applications

Va​riables and Expressions

Objective: Enter MATLAB commands, with an emphasis on creating and accessing data in variables.

• Entering commands
• Creating variables
• Getting help
• Accessing and modifying values in variables
• Creating character variables

Analysis and Visualization with Vectors

Objective: Perform mathematical and statistical calculations with vectors, and create basic visualizations. See how MATLAB syntax enables calculations on whole data sets with a single command.

• Calculations with vectors
• Plotting vectors
• Basic plot options
• Annotating plots

Analysis and Visualization with Matrices

Objective: Use matrices as mathematical objects or as collections of (vector) data. Understand the appropriate use of MATLAB syntax to distinguish between these applications.

• Size and dimensionality
• Calculations with matrices
• Statistics with matrix data
• Plotting multiple columns
• Reshaping and linear indexing
• Multidimensional arrays

Part 2

Automating Commands with Scripts

Objective: Collect MATLAB commands into scripts for ease of reproduction and experimentation. As the complexity of your tasks increases, entering long sequences of commands in the Command Window becomes impractical.

• A Modelling Example
• The Command History
• Creating script files
• Running scripts
• Publishing scripts

Working with Data Files

Objective: Bring data into MATLAB from formatted files. Because imported data can be of a wide variety of types and formats, emphasis is given to working with cell arrays and date formats.

• Importing data
• Mixed data types
• Cell arrays
• Conversions amongst numerals, strings, and cells
• Exporting data

Multiple Vector Plots

Objective: Make more complex vector plots, such as multiple plots, and use color and string manipulation techniques to produce eye-catching visual representations of data.

• 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 create flexible code that can make decisions and adapt to different situations. Explore other programming constructs for repeating sections of code, and constructs that allow interaction with the user.

• 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 difference in displaying images and visualizing matrix data using 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 typical data analysis tasks in MATLAB, including developing and fitting theoretical models to real-life data. This leads naturally to one of the most powerful features of MATLAB: solving linear systems of equations with a single command.

• Dealing with missing data
• Correlation
• Smoothing
• Spectral analysis and FFTs
• Solving linear systems of equations

Writing Functions

Objective: Increase automation by encapsulating modular tasks as user-defined functions. Understand how MATLAB resolves references to files and variables.

• Why functions?
• Creating functions
• 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.

★★★★★
★★★★★