Question: ES 1 0 6 0 Lab Exercise 0 6 Fall 2 0 2 4 MATLAB User Defined Functions and Relational Operators Problem 2 - Use

ES 1060 Lab Exercise 06
Fall 2024
MATLAB User Defined Functions and Relational Operators
Problem 2- Use the MATLAB find function with appropriate relational operators to answer the following questions about the temperatures of a hot tub within a full 24 hour period.
Use the f ind function to find the index numbers of the temperatures that exceed 104F.
Use the length function to find how many temperatures are above 104F.
Determine what times the temperature exceeded 104F.
Determine how many times the temperature was less than 103F.
What times were the temperatures below 103F?
Determine what times the temperature was within the range 102F to 104F Inclusive.
What is the maximum temperature and what time did it occur?
What is the minimum temperature and what time did it occur?
What is the average temperature?
What is the standard deviation of the temperature data?
What percentage of the temperature data is 103F or less?
What percentage of the data is in the range of mean +- standard deviation?
\table[[Hot Tub Temperature Data],[Time of Day,Temperature, Fi],[1:00,100],[2:00,100],[3:00,100],[4:00,99],[5:00,99],[6:00,100],[7:00,101],[8:00,102],[9:00,103],[10:00,103],[11:00,104],[12:00,104],[13:00,105],[14:00,104],[15:00,105],[16:00,105],[17:00,106],[18:00,104],[19:00,103],[20:00,102],[21:00,102],[22:00,102],[23:00,101],[24:00,101]]
ES 1 0 6 0 Lab Exercise 0 6 Fall 2 0 2 4 MATLAB

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!