% iweight.m % initialises the weight matrix with the specified value of omega % % omega = inhibition constant function W = iweight(omega) W = ones(9); W = -omega*W; i = 1; while i <= 9 W(i,i)=0; i = i+1; end W(2,5)=1; W(2,8)=1; W(4,5)=1; W(4,6)=1; W(5,2)=1; W(5,4)=1; W(5,6)=1; W(5,8)=1; W(6,4)=1; W(6,5)=1; W(8,2)=1; W(8,5)=1;