Question: No Iterations or Conditionals or find() function MATLAB Function Name: andTheWinnerls Input: 1. ( 110 char) A string of length 10 formated as '#@ vs
No Iterations or Conditionals or find() function MATLAB

Function Name: andTheWinnerls Input: 1. ( 110 char) A string of length 10 formated as '\#@ vs %\( \% \$ \& \)amp; ' where '\#@ is the three letter name of team1 and '\% $ ' is the three letter name of team2 2. ( 12 double) The first number is the number of points scored by team1 in the first quarter and the second number is the number of points scored by team 2 in the first quarter. 3. ( 12 double) The first number is the number of points scored by team1 in the second quarter and the second number is the number of points scored by team 2 in the second quarter. 4. ( 12 double) The first number is the number of points scored by team 1 in the third quarter and the second number is the number of points scored by team 2 in the third quarter. 5. ( 12 double) The first number is the number of points scored by team 1 in the fourth quarter and the second number is the number of points scored by team 2 in the fourth quarter. Output: 1. ( 13 char) The name of the winning team 2. (double) The number of points the winning team won by (How many more points did the winning team score than the losing team?) Note: - There will not be a tie - You cannot use the if statement to solve this problem - The find() function is banned Examples: [ Winner1, amount 1]= and ThewinnerIs('ATL vs DAL', [7],[07],[],[103]) winner1 = 'ATL' amount 1=7 winner2 = 'NYJ' amount2 =3
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
