Question: IN MATLAB This tool is provided by a third party. Your activity is always recorded but you may need to refresh the page to fill
IN MATLAB

This tool is provided by a third party. Your activity is always recorded but you may need to refresh the page to fill in the banner LAB ACTIVITY 23.54.1: Cell Arrays Cell Arrays The cell array rowing DataSet, which is in the mat file rowingData, contains information on the 1996 Olympic Rowing team. The data includes the names of 26 men participants, the event they rowed and their weights in lbs. Write a function to extract the third column into a numeric row array, calculate the mean weight, identify the number of the record that has a weight closest to the mean, and finally extract the name of the rower in the identified record number. For example >>load rowingData % contains the cell array rowingDat aset >>meanweigth, closestRecord, nameInClosestRecord] ExtractRecord (rowingDataSet) meanweigth - 191.8462 closestRecord = 4 nameInClosestRecord = Burden Your Function Save CReset MATLAB Documentation 1 function [ meankleigth, closestRecord, nameInClosestRecord ] = Extra ctRecord( cellArray) % Your code goes here 4 5 end Code to call your function C Reset 1 load rowingData % contains the cell array rowingDataSet 2 [ meanweigth, closestRecord, nameInClosestRecord ExtractRecord (rowingDataSet) Run Function
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
