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

Simplify 3 x a x 2 x b
Choose the correct translation of the following sentence Every single one is suppose to have 1 question mark but B is suppose to have 2 Can you talk to John?
Which tribe refused to agree to new terms after the Civil War? Seminole Chickasaw Creek Cherokee
A cell develops into a specific cell type during development that is, it starts to differ in structure and function from other cells. What process does the cell
The US federal debt recently passed 18 trillion dollars. The current US population is about 320 million people. Round all your answers to the nearest hundredth.
What is the length of cd in the diagram
what is the inverse operation of x^2=9
Find the volume Please help me out have to turn in the next hour
Jose tracks how many times he got fast food each month. He got fast food 121212 times in January, 101010 times in February, 181818 times in March, 444 times in
Who befriended the creature Frankenstein