Question: Using MATLAB script, please answer the following question with ALL work Write an m-file script called tempRange.m that will prompt the user for a vector
Write an m-file script called tempRange.m that will prompt the user for a vector of a week's worth of high temperatures (a single prompt expecting a vector of 7 numbers). The script displays a message with the range (difference of the highest and lowest) of the high temperatures for that week. Create a test table (use at least 4 meaningful test cases and explain why each test case was chosen) and write an m-file script solve the problem. Make sure to format the output if necessary. Design will be done in lecture or lab
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
