Matlab simulation of harmonically driven duffing oscillator.