%% Subtract Scalar from Array
% Create an array, A, and subtract a scalar value from it.

A = [2 1; 3 5];
C = A - 2

% The scalar is subtracted from each entry of A.
% Copyright 2012 The MathWorks, Inc.