Comparing Readings with Candidate Offsets

An engineer compares three pressure readings with two candidate zero offsets. Each offset must be subtracted from every reading. In current MATLAB, the arrays are


MATLAB
s = [9 15 21];    % pressure readings, kPa
b = [1; 4];      % candidate offsets, kPa
R = s - b;


What does MATLAB return for R, in kilopascals?

Choose an answer

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 Mathematical Operations with Arrays Questions: