Source: https://www.i3s.unice.fr/~bernot/Enseignement/GB4_ASR/cours02.pdf