ctfrsp.m

来自「Time-Frequency Toolbox,其中包含很常用的MATLAB程序」· M 代码 · 共 21 行

M
21
字号
%CTFRSP Spectrogram Time Frequency distribution.% [SP,T,F,norm] = Ctfrsp(X,T,N,H)%% Computes the  spectrogram of a signal X%% X        = Analyzed signal% T        = the time instant(s)   (default : 1:length(X)).% N        = number of frequency bins (default : length(X)).% H        = frequency smoothing window, (default : Hamming(N/4)).%% SP       = Spectrogram% F         = Vector of frequency bins% NORM      = Vector of normalization applied at each time instant%% Example :%    x = hilbert(sin(2*pi*0.25*(1:128))+0.5*randn(1,128));%    [sp,T,F] = Ctfrsp(x,1:128,128);%    imagesc(T,F,sp); axis xy%% SEE ALSO : Ctfrrsp, Ctfrstft, Ctfrwv, Cwindow

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?