comp_idgt.m
来自「linear time-frequency toolbox」· M 代码 · 共 40 行
M
40 行
function f=comp_idgt(coef,g,a,M,L)%COMP_IDGT Compute IDGT% Usage: f=comp_idgt(c,g,a,M,L);%% Input parameters:% c : Array of coefficients.% g : Window function.% a : Length of time shift.% M : Number of modulations.% L : length of transform.% Output parameters:% f : Signal.%% AUTHOR : Peter Soendergaard.b=L/M;N=L/a;Lwindow=size(g,1);W=size(coef,3);if L==Lwindow % Do full-window algorithm. % Apply ifft to the coefficients. coef=ifft(reshape(coef,M,N*W))*sqrt(M); % Get the factorization of the window. % Call the computational subroutine. % Recover from the factorization gf = comp_wfac(g,a,M); f = comp_idgt_fw(coef,gf,L,a,M); else % Do filter bank algorithm. % Call the computational subroutine. f=comp_idgt_fb(coef,g,a,M);end;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?