Question: need a matlab code (a) Create a cell array caled bowling representing the following sel of bowing games: Each element of the cel array reptesents
(a) Create a cell array caled bowling representing the following sel of bowing games: Each element of the cel array reptesents one game and is a cel array conthining a secuence of numbern or the characiers r and X : $0 the first part of cei 1 would be. (7,2,8,7,6,2,x,) NOTE: Since the games do not have the same numbor of thross, you cannot use a 2x coll aray instead, it must be a 12 col aray of col arraya! in other words: NCOARECT: bow ling =(7,2,8,11,6,2,x;,1,x,9,17,) COAAECT bowting =((7,2,8,8,+6,2,x,,},{+} (b) Using one of more boops, courd the botal number of stikes and botal number of spares in both garmes by looking for the charactere 'r and X : 5 tore the totais in vaiables called nut_strikes and nue_spares NOTE: if would be eacy to haideode the antwers lo part (b). Dont do thatf Lef the code fogure out the anseege
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
