Preheat the oven to 350°F (175°C). Grease and flour a 9x13 inch baking pan.
In a medium bowl, whisk together the flour, baking powder, baking soda, salt, cinnamon, and nutmeg. Set aside.
In a large bowl, cream together the granulated sugar, brown sugar, and softened butter until light and fluffy.
Add the eggs one at a time, beating well after each addition. Mix in the vanilla extract.
Gradually add the dry ingredients to the wet ingredients, alternating with the yogurt. Begin and end with the flour mixture. Mix until just combined.
Fold in the chopped apples and walnuts gently until evenly distributed throughout the batter.
Pour the batter into the prepared baking pan and spread it evenly.
Bake in the preheated oven for 40-45 minutes, or until a toothpick inserted into the center comes out clean.
Allow the cake to cool in the pan for 10 minutes before transferring it to a wire rack to cool completely.