Notes 09: Analyzing Stock Market Data with Control Flow
The stock market data first seen in
Homework 3 is a trove of information,
and it will form the basis for Homework 4 as well. Today we will
perform a few data analysis tasks in MATLAB:
- Find the largest single day gain
- Find the largest single day loss
- Find the largest single day percentage gain
- Find the total number of days of gain, loss, and no change
- Compute the average gain and loss per day
The code we generated in class can be downloaded here: dowjones.m