zoukankan      html  css  js  c++  java
  • [Matlab] 短时傅里叶变换spectrogram函数

    Matlab 文档:https://ww2.mathworks.cn/help/signal/ref/spectrogram.html#bultmx7-x

    调用:[~,f,t,ps] = spectrogram(data,opt.window,opt.noverlap,freqRange(1):freqRange(2),sample_freq,'reassigned');

    有两个细节:reassigned 解释如下:

    [___] = spectrogram(___,'reassigned') reassigns each PSD or power spectrum estimate to the location of its center of energy. If your signal contains well-localized temporal or spectral components, then this option generates a sharper spectrogram.

    示例:

    openExample('signal/ReassignedSpectrogramOfQuadraticChirpExample')

    这是我自己花了两张对比图,效果如下:

    图1 无reassign选项

     图2 有reassign选项

  • 相关阅读:
    模型
    smarty变量
    smarty变量调节器
    分页
    表单验证(注册)
    php数据库访问
    php面向对象 继承
    php 面向对象
    php正则数组
    php 函数
  • 原文地址:https://www.cnblogs.com/virter/p/14130408.html
Copyright © 2011-2022 走看看