subject

Suppose that a file named sensor. dat contains information collected from a set of sensors. 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. Deliverables for #3:

a) Read the data file and print the number of sensors and the number of seconds of data contained in the file. (Hint: Use the size function -- don't just count the two numbers.)

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 1 does not contain sensor data; it contains time data.

0.0000000e+000 7.0643200e+001 6.8347000e+001 7.2346900e+001 6.7675100e+001 7.3176400e+001

1.0000000e+000 7.3282300e+001 6.5781900e+001 6.5482200e+001 7.1854800e+001 6.6992900e+001

2.0000000e+000 6.4160900e+001 7.2488800e+001 7.0179400e+001 7.3641400e+001 7.2755900e+001

3.0000000e+000 6.7697000e+001 7.7442500e+001 6.6862300e+001 8.0560800e+001 6.4500800e+001

4.0000000e+000 6.8687800e+001 6.7267600e+001 7.2677000e+001 6.3213500e+001 7.0430000e+001

5.0000000e+000 6.3934200e+001 6.5766200e+001 2.7644000e+000 6.4886900e+001 5.9977200e+001

6.0000000e+000 6.3402800e+001 6.8768300e+001 6.8981500e+001 7.5189200e+001 6.7534600e+001

7.0000000e+000 7.4656100e+001 7.3315100e+001 5.9728400e+001 6.8051000e+001 7.2310200e+001

8.0000000e+000 7.0056200e+001 6.5729000e+001 7.0662800e+001 6.3093700e+001 6.8395000e+001

9.0000000e+000 6.6774300e+001 6.3993400e+001 7.7964700e+001 7.1577700e+001 7.6182800e+001

1.0000000e+001 7.4028600e+001 6.9400700e+001 7.5092100e+001 7.7766200e+001 6.6843600e+001

1.1000000e+001 7.1158100e+001 6.9673500e+001 6.2098000e+001 7.3539500e+001 5.8373900e+001

1.2000000e+001 6.5051200e+001 7.2426500e+001 6.9606700e+001 7.9786900e+001 6.3841800e+001

1.3000000e+001 7.6697900e+001 6.7022500e+001 6.6591700e+001 7.2522700e+001 7.5278200e+001

1.4000000e+001 7.1447500e+001 6.9251700e+001 6.4877200e+001 7.9322600e+001 6.9433900e+001

1.5000000e+001 7.7394600e+001 6.7826200e+001 6.3828200e+001 6.8300900e+001 7.1896100e+001

1.6000000e+001 7.5690100e+001 6.9603300e+001 7.1444000e+001 6.4301100e+001 7.4721000e+001

1.7000000e+001 6.6579300e+001 7.7675800e+001 6.7853500e+001 6.8944400e+001 5.9397900e+001

1.8000000e+001 6.3540300e+001 6.6967600e+001 7.0279000e+001 7.5951200e+001 6.6776600e+001

1.9000000e+001 6.9635400e+001 6.3263200e+001 6.8160600e+001 6.4419000e+001 6.6478500e+001

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 01:30
1. which of the following is a search engine? a) mozilla firefox b)internet explorer c)google d)safari 2. which of the following statements is true? a) all search engines will provide the same results when you enter the same query. b) all search engines use the same amount of advertisements. c) some search engines are also browsers. d) search engines often provide different results, even when you enter the same query.
Answers: 2
question
Computers and Technology, 23.06.2019 02:00
Consider the following function main: int main() { int alpha[20]; int beta[20]; int matrix[10][4]; . . } a. write the definition of the function inputarray that prompts the user to input 20 numbers and stores the numbers into alpha. b. write the definition of the function doublearray that initializes the elements of beta to two times the corresponding elements in alpha. make sure that you prevent the function from modifying the elements of alpha. c. write the definition of the function copyalphabeta that stores alpha into the first five rows of matrix and beta into the last five rows of matrix. make sure that you prevent the function from modifying the elements of alpha and beta. d. write the definition of the function printarray that prints any onedimensional array of type int. print 15 elements per line. e. write a c11 program that tests the function main and the functions discussed in parts a through d. (add additional functions, such as printing a two-dimensional array, as needed.)
Answers: 3
question
Computers and Technology, 23.06.2019 06:10
The head restraint should be adjusted so that it reaches a.the top of your ears b.the base of your skull c.the top of the head
Answers: 1
question
Computers and Technology, 23.06.2019 14:00
What is html ? give a small description about html
Answers: 2
You know the right answer?
Suppose that a file named sensor. dat contains information collected from a set of sensors. Each row...
Questions
question
English, 01.08.2019 06:30
Questions on the website: 13722362