matlab中 specgram,【matlab[B,F.T]=SPECGRAM(A,NFFT,Fs,WINDOW,NOVERLAP)我想知道这个B到底是代表什么直接输SPECGRAM(A,NFFT,...

matlab

[B,F.T] = SPECGRAM(A,NFFT,Fs,WINDOW,NOVERLAP)

我想知道这个B到底是代表什么

直接输SPECGRAM(A,NFFT,Fs,WINDOW,NOVERLAP)是输出语谱图,

下面是help 的结果 ,无奈英语看不懂

SPECGRAM Spectrogram using a Short-Time Fourier Transform (STFT).

B = SPECGRAM(A) calculates the spectrogram for the signal in vector A.

SPECGRAM divides the signal into overlapping segments,windows each

segment and forms the columns of B with their discrete Fourier

transforms.

B = SPECGRAM(A,NFFT,Fs) specifies the number of FFT points used to

calculate the discrete Fourier transforms.If NFFT = [] or is not

specified the default NFFT = minimum of 256 and the length of A.Fs is

the sampling frequency which does not effect the spectrogram but is

used for scaling plots.If Fs=[] or is not specified it defaults to 2

Hz.

B = SPECGRAM(A,NFFT,Fs,WINDOW,NOVERLAP) uses WINDOW to window each

overlapping segment and forms the columns of B with their zero-padded,

length NFFT discrete Fourier transforms.If you specify a scalar for

WINDOW,SPECGRAM uses a Hanning window of length NFFT.WINDOW must

have a length smaller than or equal to NFFT and greater than NOVERLAP.

NOVERLAP is the number of samples each segement of A overlaps.The

default value of NOVERLAP = length(WINDOW)/2.

还有这个B和 用fft函数出来的有什么区别啊

作业帮用户2016-12-16举报

6c0a0adef10d1043fa4f41a7897345ed.png

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值