makeComboTransitionMatr

makeComboTransitionMatr(peak_combos, p_transition)

makeComboTransitionMatr determines the combo transition matrix for a given set of peak combos from a set of input probabilities.

INPUTS
peak_combos – indicator matrix (num_combos x num_peaks) of which

peaks are on in each combo. Required.

p_transition – Four possibilities:

[p1] - peaks turn on and off with probability p1 [p1 p2] - peaks turn on with probability p1

and turn off with probability p2

[p1 p2 p3] - probability of staying in the current

combo is p3 and transitioning is (1-p3). Away transitions determined by probabilities of peaks turning on (p1) and turning off (p2).

otherwise - uniform transition probabilities between

combos

After these setups, the overall transition probabilities are then appropriately normalized.

OUTPUTS:

tmatrix – matrix (num_combos x num_combos) of transition probabilities

Created by Patrick Stokes