Source: https://digitalis-dsp.uc.pt/bitstream/10316.2/23856/1/mathesis6_artigo8.pdf