The present Matlab code concerns the analysis of a given sound sample.
The analysis includes:
1) Plotting of:
- the signal in the time domain;
- the signal in the frequency domain (using FFT);
- the spectrogram (using STFT);
- the distribution of the instantaneous value of the signal (using normfit).
2) Displaying of:
- the standard deviation of the signal (sigma);
- the mean value (mu);
- the crest-factor Q;
- the dynamic range D.
The code is based on the theory described in:
 D. Manolakis, V. Ingle. Applied Digital Signal Processing. Cambridge, Cambridge University Press, 2011.
 G. Heinzel, A. Rudiger, R. Schilling. Spectrum and spectral density estimation by the Discrete Fourier transform (DFT), including a comprehensive list of window functions and some new flat-top windows. Germany, Hannover, Max-Planck-Institut für Gravitationsphysik, 2002.
 Understanding FFT Overlap Processing Fundamentals.pdf. Tektronix Inc., www.tek.com, 2009.
 I. Tashev, A. Acero. Statistical Modeling of the Speech Signal. IWAENC 2010, August 30 - September 2 2010, Tel Aviv, Israel.
 M. Mijic, D. Masovic, D. Pavlovic, M. Petrovic. Statistical properties of music signals. 126th AES Convention, May 7 – May 10, Munich, Germany. Proceedings of papers, p. 7702, 2009.