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

mary bought a pair of jeans and a sweater. The jeans cost $30 and the sweater cost $35. If sales tax is 5%, how much did she spend? What is the answer?
The thermal effect of water formation reaction is 286 kJ. what will be the thermal effect of its decomposition. Why?
What is the slope of this line?
Laughing fit to kill figurative language
Ignore my answer attempt! I’m stumped please help!!!
3^2 х 3^(-5)=A. =3^-2B. =9^-3C. З^-3I need help ​
A line crosses the coordinates (-3,4) and (1,-4) What is the slope of the line?
A line that passes through the point (1,-2) is parallel to the line y=-4x+1
Professor Marsden explains to the class that he wants the assigned paper submitted for review at several points in the research process. Lydia notes that she ha
You are the manager of a clothing store. You must decide how many of your employees to put on the sales floor, and how many to put on the register. Because empl