Question: someone please help with this MATLAB code. I have my code attached below and the error it keeps giving me for STATUS CHECK. Please give
someone please help with this MATLAB code. I have my code attached below and the error it keeps giving me for STATUS CHECK. Please give me a genuine solutions. I have posted this question before as well. Didn't get proper answers. Please I need help. In MATLAB please. Will upvote if it works. Thank you



Assessment: 2 of 3 Tests Passed (33\%) Unit Check 17%(17%) Temp Check 16%(16%) Status Check 0%(67%) Variable Status has an incorrect value. The Status variable contained "Invalid Unit" for a valid temperature (Celsius). The incorrect status was stored in Status. See the error message for more details. You are given a spreadsheet, named "E_Coli Incubation.xlsx", which contains data from incubating water samples to test for E. coli. At the top, the spreadsheet has some header information which includes the incubation temperature with units. For the results of the E. coli test to be valid, the temperature must be within the temperature range 351 " C (i.e., between 34 - 36degC including the boundaries). Because the data is recorded by the lab technician, the units used for temperature might vary. Your program should work if the temperature is recorded in units of Celsius or Fahrenheit. See the image below for how the header is arranged. Write a program which will read in the temperature and units from the spreadsheet, check if the temperature is within the acceptable range, and set a variable Status to contain one of the following character arrays: - Invalid Unit - if the temperature unit listed is anything other than Celsius or Fahrenheit (because this is entered by the technician, capitalization of the unit names does not matter) - In Range - if the temperature was within the acceptable range for the E. coli test to be considered valid - Out of Range - if the temperature was outside the acceptable range for the E. coli test to be considered valid
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
