Similar to this question, but I ask specifically about bracha achrona -- with the presumption that you probably made a bracha rishona before you ate. (Not that those mitzvot are necessarily linked, but it might feel weird to make one without the other.) Do you make a bracha achrona if the food you ate was bad?
Assume you ate the regular amount necessary for a bracha achrona.