Insert and correct a temperature-log row

A temperature log stores one test per row and two sensor readings per test, in degrees Celsius. An engineer inserts a missing test and then corrects selected readings using these MATLAB statements:


MATLAB
T = [18 21; 20 24; 22 26];
T = [T(1:2,:); 19 23; T(3,:)];
T(2:3,2) = 25;


Complete the table with every entry of the final array T. Enter exact integers in degrees Celsius.

Final rowSensor 1 (°C)Sensor 2 (°C)
1
2
3
4

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

More Modifying Arrays Questions: