This three-day course provides a comprehensive introduction to the MATLAB® technical computing environment. 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
The aim of the course is to provide basic knowledge and proper techniques of MATLAB for participants to be able to use MATLAB to solve practical problems.
Who Must Attend
This hands-on course is designed for beginner users. It is especially useful for those who want to gain a fundamental understanding of MATLAB. Engineers, researchers, scientists, and managers working with systems level design will be shown an easy-to-use approach in using MATLAB.
Upon the completion of the course, the participants will gain a comprehensive understanding of MATLAB as a programming language, which is useful for designing and building their systems.
No prior knowledge of MATLAB is required.
Day 1 of 3Working with the MATLAB User Interface
Objective: Become familiar with the main features of the MATLAB integrated design environment and its user interfaces. Get an overview of course themes.
- Reading data from files
- Saving and loading variables
- Plotting data
- Customizing plots
- Exporting graphics for use in other applications
Variables and Commands
Objective: Enter MATLAB commands, with an emphasis on creating variables, accessing and manipulating data in variables, and creating basic visualizations. Collect MATLAB commands into scripts for ease of reproduction and experimentation.
- Entering commands
- Creating numeric and character variables
- Making and annotating plots
- Getting help
- Creating and running script files
Analysis and Visualization with Vectors
Objective: Perform mathematical and statistical calculations with vectors. Use MATLAB syntax to perform calculations on whole data sets with a single command. Organize scripts into logical sections for development, maintenance, and publishing.
- Performing calculations with vectors
- Accessing and modifying values in vectors
- Creating multiple plots
- Commenting and publishing scripts
Day 2 of 3Analysis 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.
- Creating and manipulating matrices
- Performing calculations with matrices
- Calculating statistics with matrix data
- Visualizing matrix data
Dates and Times
Objective: Use variables to represent and manipulate dates and time durations. Extract components of dates and durations as numeric variables.
- Representing dates and durations
- Performing calculations with dates and durations
- Plotting with dates
- Extracting numeric components of dates and durations
Tables of Data
Objective: Import data as a MATLAB table. Work with data stored as a table.
- Storing data as a table
- Operating on tables
- Extracting data from tables
- Modifying tables
Conditional Data Selection
Objective: Extract and analyze subsets of data that satisfy given criteria.
- Logical operations and variables
- Finding and counting
- Logical indexing
Day 3 of 3Analyzing Data from Files
Objective: Perform typical data analysis tasks in MATLAB, including importing data from file, preprocessing data, fitting a model to data, and creating a customized visualization of the model.
- Importing from spreadsheets and delimited text files
- Dealing with missing data
- Plotting functions
- Customizing plots
Objective: Create flexible code that can interact with the user, make decisions, and adapt to different situations.
- Programming constructs
- User interaction
- Flow control
Objective: Increase automation by encapsulating modular tasks as user-defined functions. Understand how MATLAB resolves references to files and variables. Use MATLAB development tools to find and correct problems with code.
- Creating functions
- Calling functions
- Setting the MATLAB path
- Debugging with the MATLAB Editor
- Using breakpoints
- Creating and using structures