filter_ramp_transitions

filter_ramp_transitions(md0, threshold)

filter_ramp_transitions() - Creates a transition mask for ramp reserves.

MD = FILTER_RAMP_TRANSITIONS(MD0, THRESHOLD)

Creates a transition mask for ramping reserves, including only transitions
with probabilities greater than or equal to a given THRESHOLD value,
where the probability of the transition from j1 to j2 is taken to be the
conditional probability in TransMat multiplied by the conditional
probability of being in state j1, given that you've made it to period t.