CS211 Lab Policy:
Instructions:
You will create one MATLAB program named Lab21 in file Lab21.m for this lab. The instructions below ask you to perform some of the same plotting your did in Lab 17 (i.e., plotting data from the 2007 Pikes Peak Marathon) -- but this time the data will be in cell arrays.
Cell Array | Description | Size (Type) |
Data{1} | The runner's finishing place (e.g., 1st, 2nd, 3rd, etc.) | 882x1 (int32) |
Data{2} | The runner's finishing place in their age category | 882x1 (int32) |
Data{3} | The total number of runners in this runner's age category | 882x1 (int32) |
Data{4} | The runner's name | 882x24 (char) |
Data{5} | The runner's age | 882x1 (int32) |
Data{6} | The runner's gender | 882x1 (char) |
Data{7} | The runner's home town | 882x15 (char) |
Data{8} | The runner's home state (or country) | 882x2 (char) |
Data{9} | The time it took for the runner to get to the top of Pikes Peak | 882x7 (char) |
Data{10} | The time it took for the runner to get down from the top of Pikes Peak | 882x7 (char) |
Data{11} | The total race time for the runner | 882x7 (char) |
- under 20
- 20-29
- 30-39
- 40-49
- 50-59
- 60-69
- 70 and over
Turn-in:
Submit your Lab21.m file.