Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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: beMyHeroimage text in transcribedimage text in transcribed

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

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_2

Step: 3

blur-text-image_3

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

Beyond Big Data Using Social MDM To Drive Deep Customer Insight

Authors: Martin Oberhofer, Eberhard Hechler

1st Edition

0133509796, 9780133509793

More Books

Students also viewed these Databases questions

Question

=+impact member states and MNEs?

Answered: 1 week ago