Calculate from the saved calibration

A current sensor uses a calibration factor in amperes per volt. The following commands execute successfully in order. The function mean computes the arithmetic mean of the readings.


MATLAB
voltage_V = [1.4 1.8 2.2];
gain_AperV = 3;
save("drive.mat","voltage_V","gain_AperV")
voltage_V = [4 4 4];
gain_AperV = 5;
R = load("drive.mat");
current_A = R.gain_AperV * mean(R.voltage_V);


What value does current_A contain? Give your answer in amperes, to one decimal place.

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 Using Script Files and Managing Data Questions: