Review of MATLAB Basics

Neha Raikar, University of Maryland-Baltimore County, Chemical, Biochemical, and Environmental Engineering
Author Profile
Initial Publication Date: September 21, 2022

Summary

This activity is designed to recap some basic MATLAB concepts. Depending on the MATLAB computing background the student may have, this live script is supposed to be a refresher

Share your modifications and improvements to this activity through the Community Contribution Tool »

Learning Goals

Navigating MATLAB space, dealing with vectors and matrices, writing functions, and basics of linear algebra.
A live script is used to make the activity more interactive. The idea is introduced in the text, and the code blocks are intentionally left incomplete. They would be completed by the instructor in class while gathering inputs from the students.
Examples used for writing functions can be used to motivate the idea of algorithmic thinking. Data analysis examples can also be used to highlight complex calculations.

Context for Use

The activity is designed primarily for sophomores or early juniors. The students should have basic familiarity with MATLAB but may not have used MATLAB for a while.
It can be a lab or a classroom activity. Two sessions of 45 mins or an hour and a half session would be the desired time frame. It can also be used for a short workshop or bootcamp.
The students are expected to have taken a prior MATLAB course or done some form of MATLAB computing.
Some basic linear algebra knowledge can be helpful.
This can be used as an initial review activity. More complexity can be added if the students have a higher initial level of MATLAB familiarity.
A starter MATLAB course before this activity is desired. However, it can also be used as a starter. In that case, the time required to complete the activity will be longer.

Description and Teaching Materials

The activity is based on a MATLAB Live script. This activity aims to prepare students with the foundation to appreciate more complex topics in the future.

A live script and a pdf are provided.


MATLAB Live Script as student handout (MATLAB Live Script 72kB Sep21 22)
PDF version of the live script (Acrobat (PDF) 234kB Sep21 22)


Teaching Notes and Tips


Assessment

References and Resources