diffusion-notes/code: example generates matlab code of expression