Question: Please write the answers as MATLAB formation. Problem 1: Write a script that asks the user to enter a list of 5 separate numbers (using

 Please write the answers as MATLAB formation. Problem 1: Write a
Please write the answers as MATLAB formation.

Problem 1: Write a script that asks the user to enter a list of 5 separate numbers (using the input function, i.e. list(1) =input("Enter the first number:):) and then calculates the mean, min, and max of the list of numbers using the mean, min, and max functions. The script should print out the result of the calculation on the screen to two decimal places using fprintf. Problem 2: Write a script which prompts the user to enter a list of three separate numbers (using the input function, i.e. list(1) = input('Enter the first number: ');) and a fourth number which is a "minimum value" for comparison. The code should print to the screen any of the first three numbers in the list that are greater than this fourth minimum value." Problem 3: A class has students with the following ID numbers: 104 156 126 178 101 The respective course scores for these students are: 93 86 75 96 89 Write a script that determines which students got an A in the course (a score greater than or equal to 90 - use a logical array operation like in the example). The script should print the ID numbers of the students that got an A to the screen using logical array indexing

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!