spectrogram
使用短时傅里叶变换的谱图
语法
说明
[___, 还返回矩阵 ps] = spectrogram(___,spectrumtype)ps,该矩阵与 x 的谱图成正比。
如果您将
spectrumtype指定为"psd",则ps的每列包含一个加窗段的功率谱密度 (PSD) 估计值。如果您将
spectrumtype指定为"power",则ps的每列包含一个加窗段的功率谱估计值。
[___] = spectrogram(___,"reassigned") 将每个 PSD 或功率谱估计值重新分配给其能量中心的位置。如果您的信号包含定位良好的时序分量或频谱分量,则此选项会生成更清晰的谱图。
[___] = spectrogram(___, 返回在 freqrange)freqrange 指定的频率范围内的 PSD 或功率谱估计值。freqrange 的有效选项是 "onesided"、"twosided" 和 "centered"。
[___] = spectrogram(___, 使用名称-值参量指定附加选项。选项包括最小阈值和输出时间维度。Name=Value)
示例
输入参数
名称-值参数
输出参量
详细信息
提示
如果短时傅里叶变换有零值,则将其转换为分贝会导致出现负无穷大而无法绘制。为了避免这种可能出现的问题,当您不带输出参量调用 spectrogram 时,该函数会向短时傅里叶变换添加 eps。
参考
[1] Boashash, Boualem, ed. Time Frequency Signal Analysis and Processing: A Comprehensive Reference. Second edition. EURASIP and Academic Press Series in Signal and Image Processing. Amsterdam and Boston: Academic Press, 2016.
[2] Chassande-Motin, Éric, François Auger, and Patrick Flandrin. "Reassignment." In Time-Frequency Analysis: Concepts and Methods. Edited by Franz Hlawatsch and François Auger. London: ISTE/John Wiley and Sons, 2008.
[3] Fulop, Sean A., and Kelly Fitz. "Algorithms for computing the time-corrected instantaneous frequency (reassigned) spectrogram, with applications." Journal of the Acoustical Society of America. Vol. 119, January 2006, pp. 360–371.
[4] Oppenheim, Alan V., and Ronald W. Schafer, with John R. Buck. Discrete-Time Signal Processing. Second edition. Upper Saddle River, NJ: Prentice Hall, 1999.
[5] Rabiner, Lawrence R., and Ronald W. Schafer. Digital Processing of Speech Signals. Englewood Cliffs, NJ: Prentice-Hall, 1978.

























