Pātuhitia tēnei: Analysis and synthesis of sampled-data control systems