Pre-class Assignment
No participation activities; work on lab 2!
Announcements
- Lab 1 checkoffs
- Last lab 1 checkoffs for this round will be tomorrow, please make sure to schedule with me!
- Lab 2 is out and will be due Feb 25th at 1:15pm
- We will be doing similar lab checkoffs on Feb 25th as we did for Lab 1 (10 mins per group)
- Do not take apart your breadboards when you are done with this lab, unless you need more space for the next one. But either way please keep all the components or give them back to me for later use.
- We’ll be using MATLAB today in class if we have time. Install it on your laptop if you haven’t already. It should already be on the desktops in the classroom.
- Assessment 1 will be in one week, see details about Assessment 1
- Office hours: by appointment (email me if none of those times work)

Learning Objectives and Outcomes
In this lecture, you will...
- listen to a lecture about peak detection, how to implement it in MATLAB, and some syntax differences between MATLAB and C++
By the end of this lecture, you should be able to...
- complete exercises 4 to 6 on the lab (exercise 7 is extra credit)
Lecture Content
Baeldung Peak Detection
See example MATLAB code in Lab 2 Github; if you don’t have access, let me know and I will set you up.
See MATLAB Resources for information on differences between MATLAB and C++ and tips about working with MATLAB.
In Class Exercises
Start working on exercise 4 of the lab.