ctfrpmh.m
来自「Time-Frequency Toolbox,其中包含很常用的MATLAB程序」· M 代码 · 共 20 行
M
20 行
%CTFRPMH Pseudo Margenau-Hill time-frequency distribution.% [TFR,T,F]=TFRPMH(X,T,N,H)%% computes the Pseudo Margenau-Hill distribution of a signal X. % % X = Analyzed signal.% T = time instant(s) (default : 1:length(X)).% N = number of frequency bins (default : length(X)).% H = frequency smoothing window (default : Hamming(N/4)). %% TFR = time-frequency representation.% F = vector of normalized frequencies.%% Example :% x = hilbert(sin(2*pi*0.25*(1:128))+0.5*randn(1,128)); % t=1:128; [tfr,T,F]=Ctfrpmh(x,t,128);% imagesc(T,F,tfr); axis xy; xlabel('time'); ylabel('frequency')%% SEE ALSO : Ctfrmh, Ctfrpwv
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?