Lab 9

Chapter 10 & 13 - Advanced Functions & Sights and Sounds

Synopsis
In the past two lectures, we learned a variety of new ways to increase the flexibility of our functions, and were introduced to functions that help with handling audio/visual files. This lab will combine these two topics. We will use anonymous functions to perform different operations on our audio and image data.


Daily Quiz

Quiz 18


Lab 9

Download and work through the m-file and associated data file below
lab9_20160413.m
audioclip.mp4
emory.jpg

Answer Key

Code
lab9key_20160413.m

Output
Lab 9


Final Words

Anonymous functions are a great way to increase the readbility of your code without having to add countless additional files to your project. Here, we used them to perform basic operations of audio/image data, but they have many more uses. In the coming lectures, we will learn more advanced functions within MATLAB that will greatly ease your data analysis efforts.