Menu

(Solved) : 7 10 Points Two Stores B Sell One Product Sales Data Day Shown Following Table Use Variab Q44001486 . . .

7. [10 points) Two stores (A. B) both sell one product. The sales data for each day is shown in the following table (use vari

a matlab program

7. [10 points) Two stores (A. B) both sell one product. The sales data for each day is shown in the following table (use variable T for the table). The first column is used to identify the stores (A and B): the 2nd column is the unite price of the product on that day, the 3rd column is the number of sold product on each day. (1) Get a sub-table (T2) which includes only the sales data for store A (all three columns). (2) Calculate average (unit) price, maximum price for store A. (3) Calculate the total sale amount for store A. That is, 25*10 + 26*9 + 20*18 + … + 22*18. You will get one bonus mark if you solve this without using loop. (4) Plot count (v-axis) against price (x-axis) for store A sales data. Only points are requested, NO line between points. store price count A 25 10 A 26 I 9 В 24 T 12 A 20 18 B B A 27 I 5 2011 22 18 Show transcribed image text 7. [10 points) Two stores (A. B) both sell one product. The sales data for each day is shown in the following table (use variable T for the table). The first column is used to identify the stores (A and B): the 2nd column is the unite price of the product on that day, the 3rd column is the number of sold product on each day. (1) Get a sub-table (T2) which includes only the sales data for store A (all three columns). (2) Calculate average (unit) price, maximum price for store A. (3) Calculate the total sale amount for store A. That is, 25*10 + 26*9 + 20*18 + … + 22*18. You will get one bonus mark if you solve this without using loop. (4) Plot count (v-axis) against price (x-axis) for store A sales data. Only points are requested, NO line between points. store price count A 25 10 A 26 I 9 В 24 T 12 A 20 18 B B A 27 I 5 2011 22 18

Expert Answer


Answer to 7. [10 points) Two stores (A. B) both sell one product. The sales data for each day is shown in the following table (use…

OR