Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please answer in a MATLAB form Problem 2: Write a script which prompts the user to enter a list of three separate numbers (using the

image text in transcribed
Please answer in a MATLAB form
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

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

Step: 3

blur-text-image

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

Making Databases Work The Pragmatic Wisdom Of Michael Stonebraker

Authors: Michael L. Brodie

1st Edition

1947487167, 978-1947487161

More Books

Students also viewed these Databases questions

Question

KEY QUESTION Refer to columns 1 and 6 in the table for question

Answered: 1 week ago