Bifurcation analysis of a two-dimensional discrete Hindmarsh–Rose type model