tfr_clear.m

来自「linear time-frequency toolbox」· M 代码 · 共 27 行

M
27
字号
function tfr_clear(self);%TFR_CLEAR   Clear time-frequency represenation object%   Usage:  tfr_clear(handle);%%   This clears the TFR object represented by handle. This%   will free some memory.%%   SEE ALSO:  TFR_CREATE, TFR_CLEARALLglobal TF_STORAGE% Initialise it for the first time.if prod(size(TF_STORAGE))==0  error('Please run tfr_init to obtain a valid handle.');end;% Default to DGTTF_STORAGE.data{self}={};% If this happends to be the last object on the stack,% decrease the point. This should prevent TF_STORAGE from% growing for most common cases.if self+1==TF_STORAGE.next  TF_STORAGE.next=self;end;

⌨️ 快捷键说明

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