Question: Categorical Arrays: Part 1 The cell array rowingDataSet, which is stored in the mat file rowingData, contains information on the 1996 US Olympic Rowing Team.



Categorical Arrays: Part 1 The cell array rowingDataSet, which is stored in the mat file rowingData, contains information on the 1996 US Olympic Rowing Team. This dataset has the names of 26 participants. The first column is the name of the rower, the second the event and the third the weigth of the athlete in pounds. For example, the first 4 records in the dataset are >>load rowingData; >> whos Size 26x3 Bytes Class Attributes Name rowingDataSet 9630 cell >>smallerData-rowingDataSet(1:4,:) smallerData = 4x3 cell array Auth "Beasley" Brown" "Burden "LW_double_sculls" single_sculls eight eight 154] [224] [214] [195] Create a function ExtractEventsAndBinWeights to extract the second column holding the events into a categorical array rowingEvents, and to extract the third column into a binned categorical array weightCategories. The binning categories are 'light weight' if (100 s weight
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
