Question
1.0 169.0 93.0 115.0 140.0 2.0 196.0 81.0 126.0 77.0 3.0 100.0 97.0 134.0 72.0 4.0 151.0 73.0 108.0 86.0 5.0 182.0 63.0 102.0 74.0
1.0 169.0 93.0 115.0 140.0 2.0 196.0 81.0 126.0 77.0 3.0 100.0 97.0 134.0 72.0 4.0 151.0 73.0 108.0 86.0 5.0 182.0 63.0 102.0 74.0 6.0 161.0 72.0 117.0 61.0 7.0 172.0 64.0 105.0 96.0 8.0 129.0 93.0 109.0 189.0 9.0 192.0 61.0 145.0 96.0 10.0 172.0 85.0 118.0 77.0 11.0 154.0 82.0 111.0 84.0 12.0 114.0 93.0 138.0 81.0 13.0 137.0 68.0 105.0 84.0 14.0 168.0 95.0 137.0 70.0 15.0 144.0 74.0 123.0 72.0 16.0 143.0 90.0 130.0 61.0 17.0 162.0 72.0 107.0 72.0 18.0 151.0 96.0 135.0 69.0 19.0 165.0 73.0 132.0 144.0 20.0 160.0 66.0 122.0 172.0
Can someone help me with that? thank you
Column 1: number assigned to the suspect Column 2: height of each suspect (cm) Column 3: weight of each suspect (kg) Column 4: systolic blood pressure of each suspect (mmHg) Column 5: heart rate of each suspect (beats/min) I. The agency has a fuzzy street cam video of an intruder escaping from the house. From the video, it was deduced that the thief is roughly 150 to 180 cm tall, and weighs between 60 to 80 kg. Create a new matrix called suspects which includes the suspects who meet the above characteristics. Store each suspect's number, weight and height in the matrix suspects. Also create a vector called notasuspect containing ONLY the suspect number of those who do not meet the mentioned characteristics. (Hint: you can use for and if statements) II. Traces of a drug were found at the incident site, suggesting that the thief may have high blood pressure. Edit the matrix suspects by deleting the all the information of the suspects whose blood pressure is lower than 120 mmHg. Add these deleted suspects to the notasuspect vector III. The heart rates of the suspects were monitored and recorded for a key question in the interview process. Those with accelerated heart rate were considered dishonest. Edit matrix suspects by deleting the subjects with heart rate lower than 140 beats/min. There should only be two suspects left. Display the result in the following format: "The most likely to be the thief are suspect N and M." where N and M are the assigned numbers of the two remaining suspects
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started