⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tfr_get_win.m

📁 linear time-frequency toolbox
💻 M
字号:
function g=tfr_get_win(self,win,L);%TFR_GET_WIN   Get analysis/synthesis window.%   Usage:  g=tfr_get_win(tfr,win,L);%%   TFR_GET_WIN(tfr,'analysis',L) will return the analysis window%   corresponding to a transform of length L.%   Instead of 'analysis' you may use 'a' or 1.%%   To get the synthesis window, use 'synthesis', 's' or 2.%%   SEE ALSO:  TFR_CREATEerror(nargchk(3,3,nargin));global TF_STORAGE;% Verify that TF_STORAGE has been initializedif prod(size(TF_STORAGE))==0  error('Please run TFR_CREATE to obtain a valid handle.');end;switch win  case {'analysis','a',1}    winpos=assert_winready(self,L,1,0,0,'TFR_GET_WIN');  case {'synthesis','s',2}              winpos=assert_winready(self,L,2,0,0,'TFR_GET_WIN');      otherwise    error('Unknown window type.');end;g=TF_STORAGE.data{self}.w{winpos}.g;

⌨️ 快捷键说明

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