This problem has 3 parts a, b and c. Use matlab is very easy but I am confused.
ID: 3718371 • Letter: T
Question
This problem has 3 parts a, b and c. Use matlab is very easy but I am confused. Please take a look un the two pages in order to understand the problem
Name: GTID (903Xxxxxx, etc.): Problem 1. Answer the following tracing questions. (20 points) You are given a function that takes in an array of doubles about the good doggos you've seen on campus. Each row represents a different month, and each column represents a different place Consider the following function and answer the questions below. 1 function lout] goodBoys (doggos 3 doggos [doggos avgPerMonthl 5 [~, ind]= sort (doggos ( : , end)); avgPerMonth mean (doggos,2) 4 doggos (,1)[ 6 out-doggos (ind,:) 7 end The following code is run in the Command Window. >> doggos [3 2 4: 5 10 6] >> edited goodBoys ([doggos: 7 6 5]) Complete the table below with the values of each variable in the listed works variable does not exist in the workspace then write DNE (2 points cach). paces. If the Variable Command window doggos oodBoys workspace outExplanation / Answer
Solution:
doggos =
3 2 4
5 10 6
edited =
2 4 3
6 5 6
10 6 7
3)
a)
Yes, and the value of doggos will stay the same
b)
doggos will stay the same
edited will be changed to
edited =
5 7 2 10 6 4 6 5 3 7 6
c)
c is correct.
I hope this helps if you find any problem. Please comment below. Don't forget to give a thumbs up if you liked it. :)
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.