This function produces image of amplitude by time index and instantaneous frequency. The horizontal axis represents time, the vertical axis is instantaneous frequency, and the color of each point in the image represents amplitude of a particular frequency at a particular time.
spectrogram(amplitude, freq, tt =NULL, multi =FALSE,nlevel =NULL, size =NULL)
Arguments
amplitude: vector or matrix of amplitudes for multiple signals
freq: vector or matrix of instantaneous frequencies for multiple signals
tt: observation index or time index
multi: specifies whether spectrograms of multiple signals are separated or not.
nlevel: the number of color levels used in legend strip
size: vector of image size.
Details
This function produces image of amplitude by time index and instantaneous frequency. The horizontal axis represents time, the vertical axis is instantaneous frequency, and the color of each point in the image represents amplitude of a particular frequency at a particular time.
Returns
image
References
Huang, N. E., Shen, Z., Long, S. R., Wu, M. L. Shih, H. H., Zheng, Q., Yen, N. C., Tung, C. C. and Liu, H. H. (1998) The empirical mode decomposition and Hilbert spectrum for nonlinear and nonstationary time series analysis. Proceedings of the Royal Society London A, 454 , 903--995.