Documentation

This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.

tritop

Triangle layer topology function

Syntax

pos = tritop(dim1,dim2,...,dimN)

Description

tritop calculates neuron positions for layers whose neurons are arranged in an N-dimensional triangular grid.

pos = tritop(dim1,dim2,...,dimN) takes N arguments,

dimi

Length of layer in dimension i

and returns an N-by-S matrix of N coordinate vectors, where S is the product of dim1*dim2*...*dimN.

Examples

Display Triangular Layer Topology

This example shows how to display a two-dimensional layer with 40 neurons arranged in an 8-by-5 triangular grid.

pos = tritop(8,5);
plotsom(pos)

See Also

| |

Introduced in R2010b

Was this topic helpful?