Question: write a MATLAB code that will check a status of temperature, status is 1 when temperature is between 4 and 1 2 and 0 otherwise.

write a MATLAB code that will check a status of temperature, status is 1 when temperature is between 4 and 12 and 0 otherwise. The temperature will be checked every 5 minutes such as 288 times a day, for 365 days. Temperature check for the next day will start from the last 5 minute of the previous day. The program should count and store in memory each time the temperature is less than 4 and greater than 12 for each day and show in a histogram the frequency of 0 in each day for 365 days. input X(j,k) with j=0-288 and k=1-365.

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 Accounting Questions!