Watch this Author's files
Nice, but the demo requires "hanning", which is a signal processing toolbox function.
Contact us at files@mathworks.com