Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

need hell fixing the errors Time (s) Sensor 3 Sensor 4 Sensor 5 mts, 30 minutes Sensor 1 Sensor 2 70.6432 68.3470 73.2823 65.7819 64.1609

image text in transcribed
image text in transcribed
image text in transcribed need hell fixing the errors
Time (s) Sensor 3 Sensor 4 Sensor 5 mts, 30 minutes Sensor 1 Sensor 2 70.6432 68.3470 73.2823 65.7819 64.1609 72.4888 67.697077.4425 68.6878 67.2676 63.9342 65.7662 63.4028 68.7683 74.6561 73.3151 70.0562 65.7290 66.7743 63.9934 74.0286 69.4007 71.1581 69.6735 65.0512 72.4265 76.6979 67.0225 71.4475 69.2517 77.3946 67.8262 75.6901 69.6033 66.5793 77.6758 63.5403 66.9676 69.6354 63.2632 0.0000 1.0000 2.0000 3.0000 4.0000 5.0000 6.0000 7.0000 8.0000 9.0000 10.0000 11.0000 12.0000 13.0000 14.0000 15.0000 16.0000 17.0000 18.0000 19.0000 m 4.1 modified 72.3469 65.4822 70.1794 66.8623 72.6770 2.7644 68.9815 59.7284 70.6628 77.9647 75.0921 62.0980 69.6067 66.5917 64.8772 63.8282 71.4440 67.8535 70.2790 68.1606 67.6751 73.1764 71.8548 66.9929 73.6414 72.7559 80.5608 64.5008 63.2135 70.4300 64.8869 59.9772 75.1892 67.5346 68.0510 72.3102 I 63.0937 68.3950 71.5777 76.1828 77.7662 66.8436 73.5395 58.3739 79.7869 63.8418 72.5227 75.2782 79.3226 69.4339 68.3009 71.8961 64.3011 74.7210 68.9444 59.3979 75.9512 66.7766 64.4190 66.4785 tem 42 modified blem 4.4 modified oblom 47 Each row contains a set of sensor readings, with the first row containing values collected at 0 seconds, the second row containing values collected at 1.0 seconds, and so on. Find the number of sensors and the number of seconds of data contained in the file. (Hint: Use the size function to help determine the number of sensors) (b) Find both the maximum value and the minimum value recorded on each sensor. Use MATLAB to determine at what times they occurred. (c) Find the mean and standard deviation for each sensor and for all the data values collected. Remember, column I does not contain sensor data; it contains time data HINT: transform the data portion of the sensor matrix into a column first Start a search De la Script as Problem 4.4 2 load sensor dat 5 Xb values are row vectors, times are column vectors 9X mean and std are now vector's 10 number_of_sensors size(sensor, 1) - 1 11 number_of_seconds-size(sensor, 1) 12 IM, 1)-max(sensor(1, 2 end)); 13 max_values-M 14 max_times 15 [M, 1)-min(sensor(1,2 : end)); 16 min values-M 17 min times 1 sensor_means-mean(sensor(:, 2: end)) 19 sensor_stds std (sensor(1, 2 i end)) 20 S-sensor(1, 2 end); 21 overall_mean mean((1)) 22 overall std-mean(S()) Assessment: Protest results are not suited for grading to run all the tests and submit the > number of sensors value (Protest) 22 overall std-mean(S(:)) Assessment: Pretest results are not submitted for grading. To run all the tests and submit the results for gradi number_of_sensors value (Pretest) Variable number_of_sensors has an incorrect value. Test Check whether variable number_of_sensors has the correct value. number_of_seconds value (Pretest) Variable number_of_seconds has an incorrect value Test Check whether variable number of seconds has the correct value. > max_values values (Pretest) > max_times values Protest) Variable maximes must be of size 15.11 is currently of Check where the min values values min times values

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Concepts International Edition

Authors: David M. Kroenke

6th Edition International Edition

0133098222, 978-0133098228

More Books

Students also viewed these Databases questions

Question

5. Prepare for the role of interviewee

Answered: 1 week ago

Question

6. Secure job interviews and manage them with confidence

Answered: 1 week ago