Malaysia’s economy grew at an annual pace of 5.2 percent in the third quarter, the central bank said today, as strong domestic demand compensated for a weak export sector.