Source: http://dsp.vscht.cz/konference_matlab/MATLAB06/prispevky/beranek/beranek.pdf