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

Using MATLAB script, please answer the following question with ALL work  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 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

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