We present Matlab/Octave functions to calculate measures of emergence, self-organization, and complexity of discrete and continuous data. The measures are based on Shannon's information and differential entropy, respectively. Examples from different datasets and probability distributions are used to illustrate the usage of the code.