Octave code for an eco-evolutionary model describing the response of a migratory bird's arrival time and prelaying period to climate change.