bebe8764 bebe8764
  • 08-01-2021
  • Computers and Technology
contestada

What is the value in y2 when the code show below executes?
x1 = [ 5 3 1 7 9]; [y1 y2] = min(x1)

Respuesta :

ogorwyne
ogorwyne ogorwyne
  • 10-01-2021

Answer:

y2 = 3

Explanation:

This question needs us to give the value of y2 when we run this code in the question.

By min(X1) it is asking for the minimum value in the list of values that we have in the question.

Y1 is the first minimum value in the list and it is = 1

Our answer of interest in this solution is to, which is the second minimum value in the list after Y1

Therefore y2 = 3

Thank you!

Answer Link

Otras preguntas

what is the electronegativity trend?
mr miller works 7 hours a day monday through friday how many hours does he work in two weeks
A flagpole casts a shadow 32 feet long.If a man 6 feet tall casts a shadow 8 feet long at the same time and location,how tall is the flagpole.
eight and one third times four fifteenths
The area of the square is a function of its perimeter. Graph the function on a second sheet of grid paper. Explain whether the function is linear and if the gra
Negative 20 equals negative 4x minus 6x
What happened to the economy in the North during the Civil War? A. It initially began to expand but then suddenly crashed causing many in the North to suffer.
What do I put in the blank spots?
How many 8-ounce cups can be filled from 9 gallons of juice? (Hint: there are 128 ounces in one gallon
The Horn of Plenty, or Cornucopia, which symbolizes abundance, originated in what country? a. Turkey b. America c. Holland d. Greece