Question

# Consider the following table:$\begin{matrix} \text{Time (hr)} & \text{Thermocule} 1 ^\circ F & \text{Thermocule} 2 ^\circ F & \text{Thermocule} 3 ^\circ F\\ \text{0} & \text{84.3} & \text{90.0} & \text{86.7}\\ \text{2} & \text{86.4} & \text{89.5} & \text{87.6}\\ \text{4} & \text{85.2} & \text{88.6} & \text{88.3}\\ \text{6} & \text{87.1} & \text{88.9} & \text{85.3}\\ \text{8} & \text{83.5} & \text{88.9} & \text{80.3}\\ \text{10} & \text{84.8} & \text{90.4} & \text{82.4}\\ \text{12} & \text{85.0} & \text{89.3} & \text{83.4}\\ \text{14} & \text{85.3} & \text{89.5} & \text{85.4}\\ \text{16} & \text{85.3} & \text{88.9} & \text{86.3}\\ \text{18} & \text{85.2} & \text{89.1} & \text{85.3}\\ \text{20} & \text{82.3} & \text{89.5} & \text{89.0}\\ \text{22} & \text{84.7} & \text{89.4} & \text{87.3}\\ \text{24} & \text{83.6} & \text{89.8} & \text{87.2}\\ \end{matrix}$(a) Create a column vector named times going from 0 to 24 in 2-hour increments. (b) Your instructor may provide you with the thermocouple temperatures in a file called thermocouple. dat, or you may need to create a matrix named thermocouple yourself by typing in the data. (c) Combine the times vector you created in part (a) with the data from thermocouple to create a matrix corresponding to the table in this problem. (d) Both the max and min functions can return not only the maximum values in a column, but also the element number where those values occur. Use this capability to determine the values of times at which the maxima and minima occur in each column.

Solution

Verified
Step 1
1 of 8

a) Steps:

1- $\bf{State\;the\; problem}$

Create a column vector named times going from 0 to 24 in 2-hour increments..

2- $- \bf{Develope\; a\; MATLAB \;code:}$

Create the MATLAB solution in an M-file file and then run it.

Results saved in workspace and displayed in command window as shown:

## Recommended textbook solutions #### Fundamentals of Electric Circuits

6th EditionISBN: 9780078028229 (12 more)Charles Alexander, Matthew Sadiku
2,120 solutions #### Physics for Scientists and Engineers: A Strategic Approach with Modern Physics

4th EditionISBN: 9780133942651 (5 more)Randall D. Knight
3,508 solutions #### MATLAB for Engineers

5th EditionISBN: 9780134589640 (1 more)Holly Moore
313 solutions 