Question: Function Name: beMyHero Homework 06-Conditionals Function Name: beMytHero Inputs: 1. 2. 3. 4. (char) Comma separated list of 2 superhero movie options to play (char)

Function Name: beMyHeroFunction Name: beMyHero Homework 06-Conditionals Function Name: beMytHero Inputs: 1. 2. 3.4. (char) Comma separated list of 2 superhero movie options to play

Homework 06-Conditionals Function Name: beMytHero Inputs: 1. 2. 3. 4. (char) Comma separated list of 2 superhero movie options to play (char) Comma separated list of your friends'favorite superhero movies (char) Comma separated list of the top 5 superhero movies from Netflix (doubie) A 5x2 array of stats for the top 5 superhero movies from Netix 1. (char) A string describing your final choice of which movie to play It's Friday! You and your friends have a movie night in your dorm. But you all can not settle on what movie to watch that will get everyone excited. You come up with two Marvel movie options, but decide to consult your friends' opinion and Netfix movie ratings. With this information, you decide to use MATLAB to figure out which movie to play at your movie night. Function Description: Your function will have the following three inputs in the following order and format movieoption, cmovieCption2> , . Netflix!XNetflix2XNetflix3XNetflix4>. The fourth input of your function will be a 5x2 array of stats, with each row corresponding to a specific movie and the oolumns n the following format to either total revenue that year and or the rating, total revenue rating stats=[ 1seeeee 75898 45090 788896 4888 4.3;<. netflix netflix2 netflix3 netflix4 netflixs you decide on the following set of rules: if movie option is in both lists play only list but not friends a. and has a rating greater than average top movies rated list. b. netrix>

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!