%% Display Layer with Hexagonal Pattern
% This example shows how to display a two-dimensional layer with 40 neurons arranged in an 8-by-5 hexagonal pattern.

pos = hextop([8 5]);
plotsom(pos)

% Copyright 2012 The MathWorks, Inc.