tritop
Triangle layer topology function
Syntax
pos = tritop(dimensions)
Description
tritop
calculates neuron positions for layers whose neurons are arranged
in an N
-dimensional triangular grid.
pos = tritop(dimensions)
takes one argument:
dimensions | Row vector of dimension sizes |
and returns an N
-by-S
matrix of N
coordinate vectors, where N
is the number of dimensions and
S
is the product of dimensions
.
Examples
Version History
Introduced in R2010b