Question: #MATLAB #Follow the script and command line if you can Internal functions array2table, cell2table, and struct2table are used to convert numeric cell array,, and struct
#MATLAB #Follow the script and command line if you can
Internal functions array2table, cell2table, and struct2table are used to convert numeric cell array,, and struct arrays into a table. This problem takes a closer look at cell2table. The cell array rowingDataSet, which is in the mat file rowingData, contains information on the 1996 US Olympic Rowing Team in Atlanta (Source: http://ww2.amstat.org/publications/jse/jse_data_archive.htm). The data includes the names of 26 men participants, the event they rowed and their weights (in lbs). Write a function ExtractTwoTables to convert the cell array into a table tableOne and a table tableTwo. In tableOne the metadata of the first column should be 'Names', the second Event' and the third 'Weigth'. In the second table tableTwo which is similar to tableOne other than an additional column with a metadata name Weight_Categories that bins the third column data into binning categories are 'light weight' if , 'medium weight' if and 'heavy weight' if . The unction ExtractTwoTables must used the internal function discretize. For example:



23.59 Table Creation ACTIVTY 23.59.1: Table Creation 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 0/5 Table Creation Internal functions array2table, cell2table, and struct2table are used to convert numeric cell array, and struct arrays into a table. This problem takes a closer look at cell2table. The cell array rowingDataSet, which is in the mat file rowingData, contains information on the 1996 US Olympic Rowing Team in Atlanta (Source: http://ww2.amstat.org/publications/jse/jse_data_archive.htm). The data includes the names of 26 men participants, the event they rowed and their weights (in lbs). Write a function ExtractTwoTables to convert the cell array into a table tableOne and a table tableTwo. In tableOne the metadata of the first column should be 'Names', the second Event' and the third Weigth'. In the second table tableTwo which is similar to tableOne other than an additional column with a metadata name Weight Categories that bins the third column data into binning categories are light weight' if 100
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
