%% RefGnegate
% This example shows
%% code

x = {[1 2; 3 4],[1 -3; -5 2]};
y = gnegate(x);
y{1}, y{2}

% Copyright 2015 The MathWorks, Inc.