%% Negate Elements of Matrix
% Create a 2-by-2 matrix, A.

A = [1 -3; -2 4]

%
% Negate the elements of A.

C = -A

% Copyright 2012 The MathWorks, Inc.