%% Add Scalar to Array
% Create an array, A, and add a scalar value to it.

A = [0 1; 1 0];
C = A + 2

% The scalar value is added to each entry of A.
% Copyright 2012 The MathWorks, Inc.