The sentence refers to an action that happened in the past, indicated by 'yesterday morning'. The verb 'eat' needs to be in its past simple form.
I ate a sandwich yesterday morning.