Auckland Airport: The good option is a rental car: Matamata is roughly a 2-hour drive from Auckland via SH1, then SH2/SH27; allow longer at peak holiday and Friday traffic. Public transport is not a clean airport transfer: use InterCity only if its timetable happens to suit your broader Auckland–Rotorua trip, not as an airport-arrival plan. A one-way rental is usually more useful than an expensive private shuttle because you will want wheels once there.
Hamilton Airport: Rent a car. Although Hamilton is only about 65 km/50 minutes from Matamata, airport-to-Matamata public-transport connections are poor and can take most of a day; the apparent cheapness is false economy. A taxi/private transfer is possible but rarely rational for one person.
Hamilton Transport Centre: InterCity coaches serve Matamata on Auckland–Rotorua and Tauranga–Hamilton corridors, with about eight services a day cited across those routes. Expect about 1–1½ hours from Hamilton depending on the particular service; fares vary by booking time. This is the workable car-free arrival point, but check the exact stop and timetable before committing to accommodation.