# Davidson:Modeling pancake flipping

### From OpenWetWare

(Redirected from Modeling pancake flipping)

MATLAB code for simulating the pancake problem is freely available on our Wiki.

Our initial simulations assume that all possible flips are equally likely. However, our MATLAB code is easily adaptable to other assumptions, allowing us to investigate whether smaller or larger numbers of pancakes (i.e. shorter or longer segments of DNA) might be more likely to be flipped.