Question: using matlab load the provided cw 9 . xlsx table using readtable command. The data represents the total tip paid by customer in a restaurant
using matlab
load the provided cwxlsx table using readtable command. The data represents the total tip paid by customer in a restaurant detailed by the customers gender, number, if heshethey are smokers, total bill, day and time.
a Using grpstats command:
On average, who spend more on the total bill, Male or Female?
On average, who spend more on the total bill, Smoker or nonsmoker?
On average, on which day the customers spend more on the total bill, from Monday to Sunday?
b Add another column of data, tippercent, to the table, which is the percent of tips tiptotalbill paid by the customer. To add one column of data to existing table create a table say Tnew using this column of data using table command then set Tnew
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
