Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

(Use matlab code just )Suppose you are working as a sales engineer at MBC. The manager of the channel asked you to carry out research

(Use matlab code just )Suppose you are working as a sales engineer at MBC. The manager of the channel asked you to carry out research about a case study methodology and advertising media sales data processing, to measure the causal effects of offline advertising on sales, before developing an innovative realistic predictive method to predict the sale size. After collecting the appropriate data from different sectors, you found that the average size of the sales based on the type of advertisement is as shown in the following table:(use matlab code) image text in transcribed

Task IV Suppose you are working as a sales engineer at MBC. The manager of the channel asked you to carry out research about a case study methodology and advertising media sales data processing, to measure the causal effects of offline advertising on sales, before developing an innovative realistic predictive method to predict the sale size. After collecting the appropriate data from different sectors, you found that the average size of the sales based on the type of advertisement is as shown in the following table: Advertisement January February March April May June July Type/Month 17.2 151.5 180.8 57.5 TV 230.1 44.5 8.7 Newspaper 69.2 45.1 69.3 58.5 58.4 75 23.5 Radio 37.8 39.3 45.9 41.3 10.8 48.9 32.8 The head of sales department asked you to write a MATLAB code that accomplishes the following tasks: A. Build a 2-dimensional matrix, sales, that includes the average size of the sales in each month from January to July, for each advertisement type. B. Using for loop, find and display the value of the highest sales for each type and point out at which month. C. Using while loop, display the value of the highest sales for each month and point out the related advertisement type. D. A certain tax will be paid per month, based on the size of the sales at that month. If the sale size is larger than 50 and no more than 100, then 200 JOD will be paid. If the sale size is larger than 100 and no more than 185, then 350 JOD will be paid. Otherwise, the tax is 500JOD. Based on that, build a matrix to explain the tax amount and call it "Tax": E. Round each element in the Sales to an integer, and store them in a matrix with the name of "rounded_sales". F. According to matrix rounded_sales, display the number of months that achieved an even value of sales for all categories. G. Describe and display the data of TV advertisements of each month qualitatively. For sales larger than 100, print "High" otherwise, print "low

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

Genetic Databases

Authors: Martin J. Bishop

1st Edition

0121016250, 978-0121016258

More Books

Students also viewed these Databases questions

Question

1. Identify outcomes (e.g., quality, accidents).

Answered: 1 week ago