Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

#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:

image text in transcribedimage text in transcribedimage text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Marketing Database Analytics

Authors: Andrew D. Banasiewicz

1st Edition

0415657881, 978-0415657884

More Books

Students also viewed these Databases questions

Question

Describe the five elements of the listening process.

Answered: 1 week ago

Question

=+j Explain the relationship between unions and MNEs.

Answered: 1 week ago