clear all
echo on

I=1;
J=2;

if I == J
	A(I,J) = 2;
elseif abs(I-J) == 1
	A(I,J) = -1;
else
 	A(I,J) = 0;
end

echo off