Discrete control #4: Discretize with the matched method