Figure 6
Sample calculations were performed by the superorder.m Matlab script, where the basic cells are assigned a numerical index (1, 2, …, n) and an average position that is the same in each basic cell (xavg). The value of x4 is calculated by the dot product of q with xavg. The x4 values are translated to the range 0 to 1, resulting in , using the floor function, which returns the lowest integer value. is sorted and the resulting reordered indices are returned. |