MATLAB Fundamentals

Learn core MATLABĀ® functionality for data analysis, visualization, modeling, and programming. Implement a common data analysis workflow that can be applied to many science and engineering applications.

Course modules

Introduction

Overview of the course.

Lessons:
  • Course Overview

Using the MATLAB Desktop

Use interactive tools to simplify tasks. Customize the desktop environment.

Lessons:
  • Desktop Overview
  • Getting Data into MATLAB
  • Customizing the MATLAB Environment
  • Creating Informative Scripts

Creating and Manipulating Arrays

Create, combine, and reshape arrays.

Lessons:
  • Creating Arrays
  • Concatenating Arrays
  • Reshaping Arrays
  • Summary of Creating and Manipulating Arrays

Accessing Data in Arrays

Extract subsets of arrays, and modify elements in an array.

Lessons:
  • Accessing Multiple Elements of Arrays
  • Summary of Accessing Data in Arrays

Mathematical and Statistical Operations with Arrays

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

Lessons:
  • Performing Operations on Arrays
  • Calculating Statistics of Vectors
  • Using Statistical Operations on Matrices
  • Matrix Multiplication
  • Summary of Operations with Arrays

Visualizing Data in 2D and 3D

Identify and use plot types for 2D and 3D visualization. Modify plot properties.

Lessons:
  • Identifying Available Vector Plot Types
  • Customized Annotations
  • Customizing Plot Properties
  • Axis Control
  • Plotting Multiple Columns
  • Visualizing Matrices
  • Exporting Figures
  • Summary of Visualizing Data in 2D and 3D

Conditional Data Selection

Extract and analyze subsets of data that satisfy given criteria.

Lessons:
  • Logical Operations and Variables
  • Counting Elements
  • Logical Indexing
  • Summary of Conditional Data Selection

Review Project I

Tie together several topics covered in the course.

Lessons:
  • Project - Halfway Review of Fundamentals

Tables of Data

Import data as a MATLAB table. Work with data stored as a table.

Lessons:
  • Storing Data in a Table
  • Sorting Table Data
  • Extracting Portions of a Table
  • Extracting Data from a Table
  • Exporting Tables
  • Summary of Tables of Data

Organizing Tabular Data

Organize table data for analysis.

Lessons:
  • Course Example - Premier League Team Information
  • Combining Tables
  • Table Properties
  • Indexing into Cell Arrays
  • Summary of Organizing Tabular Data

Specialized Data Types

Store data in relevant data types. Operate on the data types.

Lessons:
  • Working with Dates and Times
  • Operating on Dates and Times
  • Representing Discrete Categories
  • Summary of Specialized Data Types

Preprocessing Data

Perform typical data preprocessing tasks in MATLAB, including normalizing data and dealing with missing data.

Lessons:
  • Course Example - Preprocessing Electricity Usage Data
  • Normalizing Data
  • Working with Missing Data
  • Interpolating Missing Data
  • Summary of Preprocessing Data

Common Data Analysis Techniques

Perform common data analysis tasks in MATLAB, including smoothing data and fitting polynomials.

Lessons:
  • Course Example - Analyzing Electricity Consumption
  • Smoothing Data
  • Linear Correlation
  • Polynomial Fitting
  • Summary of Common Data Analysis Techniques

Programming Constructs

Create flexible code that can interact with the user, make decisions, and adapt to different situations.

Lessons:
  • Course Example - Comparing Prices
  • User Interaction
  • Decision Branching
  • For Loops
  • While Loops
  • Summary of Programming Constructs

Increasing Automation with Functions

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

Lessons:
  • Creating and Calling Functions
  • Function Files
  • Workspaces
  • MATLAB Path and Calling Precedence
  • Summary of Functions

Troubleshooting Code

Explore MATLAB tools for debugging code.

Lessons:
  • Finding Syntax Errors
  • Inspecting Variable Values
  • Stepping Through Code
  • Debugging Functions
  • Summary of Troubleshooting Code

Review Project II

Tie together several topics covered in the course.

Lessons:
  • Project - Review of Fundamentals

Conclusion

See next steps and give feedback on the course.

Lessons:
  • Additional Resources
  • Survey

MATLAB Onramp

Get started quickly with the basics of MATLAB.

Deep Learning Onramp

Get started quickly using deep learning methods to perform image recognition.

MATLAB Programming Techniques

Improve the robustness, flexibility, and efficiency of your MATLAB code.

MATLAB Onramp

Get started quickly with the basics of MATLAB.