Matlab codes used to generate figures in the paper 'Nonsmooth and level-resolved dynamics illustrated with the tight binding model', arXiv:1404.4280
https://arxiv.org/abs/1404.4280
We point out that in the first order time-dependent perturbation theory, the transition probability may behave nonsmoothly in time and have kinks periodically. Moreover, the detailed temporal evolution can be sensitive to the exact locations of the eigenvalues in the continuum spectrum, in contrast to coarse-graining ideas. Underlying this nonsmooth and level-resolved dynamics is a simple equality about the sinc function
Just run the matlab scripts to generate the figures.