Matlab function that can be used to generate one-off trial orders or can be called in scripts.
Executable GUI-based implementation of the function for those without a Matlab license or who don't understand the command-line usage.
Functions that can be used to assess the counterbalancing of your own random trial orders as well as functions for useful graph theory computations.
- assessCounterbalancing.m : function which takes a sequence and returns the adjacency matrix specifying how often each condition is preceded by each other condition.
- assessCounterbalancingNthOrder.m : extends above to nth order counterbalancing.
- countSequences.m
- countEulerCircuits.m
- eulerPathKandelMethod.m : This is my original function which can only handle Eulerian graphs (in-degree = out-degree for all nodes). This is the function which is in the executable (above) and carryoverCounterbalance.m function.
- eulerPathKandelMethod_ForEulerianAndSemiEulerianGraphs.m : adaptation of original function which now handles semi-Eulerian graphs
- Semi-Eulerian graphs:
- one node has in-degree - out-degree = 1
- another node has out-degree - in-degree = 1
- all other nodes have equal in and out degree
- partially tested so please send notification of any errors you encounter